This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __cxa_pure_virtual


>>>>> "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


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