__cxa_pure_virtual

Jason Merrill jason@redhat.com
Fri Nov 30 09:46:00 GMT 2001


>>>>> "Sinisa" == Sinisa Milivojevic <sinisa@mysql.com> writes:

> Is there a way of compiling a C++ file, which does not contain any
> references to STL classes, so that resultant object file will have no
> references to the above symbol, defined in pure.cc of libstdc++.

Not if you have pure virtual functions.

> I have tried using gcc for CXX, setting -fno-rtti -fno-exceptions, but
> still libstdc++ has to be linked in , due to the above symbol.

You could link against libsupc++ instead.

Jason



More information about the Libstdc++ mailing list