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


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


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