https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117785
--- Comment #37 from Hana Dusíková <hanicka at hanicka dot net> --- Btw I have noticed you touched the library, btu the feature test macro is defined only in <version>, not in <exception> and also the value is 202502L, which is only when <stdexcept>, <expected>, <optional>, <variant> exceptions will be constexpr (as specified P3378), if you don't have it it should be 202411L same as __cpp_constexpr_exceptions (as specified in P3068).