Nicolas Ferre' <[EMAIL PROTECTED]> writes:

| Hi,
| 
| Is there someone who succeeds to compile the 1.3 version on AIX5.1
| (using xforms) ? Alternatively, has someone an idea of what mean the
| following error messages. This is not the first time that I'm asking for
| help, but I never had an answer.

It looks like a linker problem...

So it is the compiler the linker, or the libc (not likely).

#include <typeinfo>

class A {};

class B : public A {}; 

int main() {
        B * b = new B;
        A * a = dynamic_cast<A*>(b);
        typeid(B) == typeid(a);
}


Does this compile on your box?

g++ -W -Wall -O0 -g dynamic.C -o dynamic


Could this be a pragma implementation/interface problem?

-- 
        Lgb

Reply via email to