Thursday February 02, 2006 Almost all serialization tests are failed now. Some tests can't be linked and the other ones linked successfully but produce incorrect results. Link errors related to stlport. It looks like stlport should be linked as static library for this tests. I will check it. More complicated error breaks other tests. Test case below shows this bug:
% cat test.cc
struct S
{
template
void operator+(T & t)
{
const_cast(t);
}
};
void foo()
{
int array[] = {777};
S s;
s + array;
}
% CC -c test.cc
"test.cc", line 14: Error: The operation "S + int*" is illegal.
Posted by Chris Quenelle on February 05, 2006 at 08:32 AM MSK #