This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: __cxa_pure_virtual
- From: Jason Merrill <jason at redhat dot com>
- To: sinisa at mysql dot com
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Fri, 30 Nov 2001 17:45:05 +0000
- Subject: Re: __cxa_pure_virtual
- References: <15367.46879.507910.52358@sinisa.nasamreza.org>
>>>>> "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