This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: __cxa_pure_virtual
- From: Sinisa Milivojevic <sinisa at mysql dot com>
- To: jason at redhat dot com
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sat, 1 Dec 2001 15:01:56 +0200
- Subject: Re: __cxa_pure_virtual
- References: <15367.46879.507910.52358@sinisa.nasamreza.org><wvl667sjgpq.fsf@prospero.cambridge.redhat.com>
- Reply-to: sinisa at mysql dot com
Jason Merrill writes:
> >>>>> "Sinisa" == Sinisa Milivojevic <sinisa@mysql.com> writes:
>
> You could link against libsupc++ instead.
>
> Jason
Thanks !
Small explanation. We (from MySQL) do not like linking in any code
which has any form of C++ exceptions, as we found out too many
problems with our multi-threaded server on high load on many different
platforms.
Therefore, I have resolved the above symbol in the manner suggested by
Nathan (thanks again).
Then I had to resolve missing new / delete operators, which I did by
writting my own set of operators, without any use of exceptions or any
other symbol defined in libsupc++.
Now all compiling and linking is done with gcc (no g++) and no
libstdc++ nor libsupc++ is linked in.
I yet have to see what my colleagues will say about this !
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa@mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com