This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Gcc 3.0 on solaris 2.7 - __pure_virtual undefined
- To: ron dot commandeur at nl dot abnamro dot com
- Subject: Re: Gcc 3.0 on solaris 2.7 - __pure_virtual undefined
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 22 Aug 2001 04:21:59 -0300
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <OF04F908AC.458C7A0C-ONC1256AAF.00253EFB@abnamro.com>
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