-fno-exceptions documentation

Benjamin Kosnik bkoz@redhat.com
Wed Dec 7 17:29:00 GMT 2005


> Thanks Peter.  That's a cleaner solution as it moves the #ifdef  
> __EXCEPTIONS out of op new and into throw_exception(), although we  
> might also want to pass a const char* to make it a little easier in  
> the non-throwing case, maybe not for bad_alloc... :-)

Suggest you find 

include/bits/funcexcept.h
 
> Anyway, if you come up with a way to pull this off without having to  
> recompile op new (or another part of the lib) when flipping  
> exceptions on/off, that would really be cool! (your challenge for the  
> week ;-)).

Not possible.

-benjamin



More information about the Libstdc++ mailing list