https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69388

Dimitry Andric <dimitry at andric dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dimitry at andric dot com

--- Comment #4 from Dimitry Andric <dimitry at andric dot com> ---
(In reply to Jonathan Wakely from comment #3)
> Following discussion with one of the libc++ developers, we're considering
> some common API that would allow an aplication to globally turn those throws
> into aborts, so that redefining them would be unnecessary.

As I discussed with libc++ maintainer Eric Fiselier, it would be nice if those
functions called terminate() in the 'fatal' case instead.  Then you at least
have some standardized way of overriding the termination with your own
mechanism, which appears to be what the Mozilla authors wanted to achieve.

(Note that even gcc redefines abort() so it can catch it in its own way... :)

Reply via email to