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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 12 07:52:00 GMT 2014


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
A Compilation Process is "Eligible" if it is done using GCC, alone or
with other GPL-compatible software, or if it is done without using any
work based on GCC. For example, using non-GPL-compatible Software to
optimize any GCC intermediate representations would not qualify as an
Eligible Compilation Process.

so I think you're wrong on this, the runtime exception can be used even when
code is compiled by other compilers, if they aren't based on GCC.



More information about the Gcc-bugs mailing list