This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Run time type information bug.



Gcc 2.95 and 2.95.2 will not compile the following simple program:

class A { virtual void f(); };
class B : A {};
main() {}

Compilation fails at the link step, with a weird message. compiling with
- -fno-rtti solves the problem.

A response to my work e-mail, gadyk@immersia.com would be appreciated.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]