[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 6 17:34:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The standard says exceptions are always enabled, if you disable them you are no
longer using standard C++, so what it says in the standard doesn't necessarily
apply.

I don't think it would be simple to make this work with -fno-exceptions



More information about the Gcc-bugs mailing list