This is the mail archive of the gcc-help@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]

Re: Gcc 3.0 on solaris 2.7 - __pure_virtual undefined


On Aug 21, 2001, ron.commandeur@nl.abnamro.com wrote:

> We only get some problems however when linking with some third party
> libraries while building our executables.

> I understood this has to do with a new C++ ABI for gcc 3.0, where
> __pure_virtual was replaced with __cxa_pure_virtual ??

Right.

> Anyone has an idea of what can we do to resolve the __pure_virtual symbol.

You may have to re-compile the third-party library.  If this is not
possible, consider creating a __pure_virtual() function that just
calls __cxa_pure_virtual() or abort().

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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