Re: [PATCH] libstdc++: Fix exceptions being generated when compiling with -fno-exceptions

2015-04-16 Thread Federico Lenarduzzi
Jonathan, I don't have commit access though, so if you could commit this for me it'd be great. Regards. 2015-04-15 11:55 GMT-03:00 Jonathan Wakely : > On 15/04/15 11:15 -0300, Federico Lenarduzzi wrote: >> >> The idea of this patch is that using this function not depend

Re: [PATCH] libstdc++: Fix exceptions being generated when compiling with -fno-exceptions

2015-04-15 Thread Federico Lenarduzzi
about this. 2015-04-14 16:27 GMT-03:00 Jonathan Wakely : > On 14 April 2015 at 16:17, Federico Lenarduzzi wrote: > > When the libstdc++ is compiled, the compiler sets the > > std::terminate_handler function with __verbose_terminate_handler() or > > std::abort() de

[PATCH] libstdc++: Fix exceptions being generated when compiling with -fno-exceptions

2015-04-14 Thread Federico Lenarduzzi
ination function; otherwise it'll use std::abort() which doesn't have exceptions. It also makes std::uncaught_exception() throw() return false if __EXCEPTIONS is not defined. libstdc++-v3/ 2015-04-14 Federico Lenarduzzi * libsupc++/eh_catch.cc (std::uncaught_exception