Closed ax3l closed 3 years ago
GCC 4.8 and 4.9 support exceptions, but are not detected as such. This adds exception support for those compilers.
Detection taken from nlohmann/json:
nlohmann/json
https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
__EXCEPTIONS This macro is defined, with value 1, when compiling a C++ source file with exceptions enabled. If -fno-exceptions is used when compiling the file, then this macro is not defined.
@mpark friendly ping :)
@mpark friendly reminder :)
Sorry for the delay. Merged.
GCC 4.8 and 4.9 support exceptions, but are not detected as such. This adds exception support for those compilers.
Detection taken from
nlohmann/json
:https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html