This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: __cxa_pure_virtual


Phil Edwards writes:
> 
> It's part of GCC 3.0.  If you compiled a C++ compiler, then it should be
> possible to only type
> 
>     g++ -o a.out ......  -lsupc++
> 
> while linking.
> 
> 
> Phil
> 

Thank you, I found it out myself pretty fast !!

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++.

So far, all works just fine, thank you !!

-- 
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]