[Bug libstdc++/64276] would be better to use __cpp_exceptions rather than __EXCEPTIONS to determine whether exceptions are available

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 12 11:26:00 GMT 2014


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-12-12
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
There is no reason not to make this change, __cpp_exceptions is the portable,
WG21-recommended way to tell if the compiler supports try/catch.



More information about the Gcc-bugs mailing list