[PATCH] libstdc++: Fix constexpr exceptions for -fno-exceptions
Jakub Jelinek
jakub@redhat.com
Fri Jul 11 13:19:39 GMT 2025
On Fri, Jul 11, 2025 at 01:47:18PM +0100, Jonathan Wakely wrote:
Thanks for doing this.
> @@ -301,8 +301,9 @@ namespace std _GLIBCXX_VISIBILITY(default)
> _GLIBCXX26_CONSTEXPR exception_ptr
> make_exception_ptr(_Ex __ex) _GLIBCXX_USE_NOEXCEPT
> {
> -#if __cplusplus >= 202400L
> +#if __cpp_lib_exception_ptr_cast >= 202506L
Just not sure how is make_exception_ptr related to
__cpp_lib_exception_ptr_cast.
Perhaps __cpp_constexpr_exceptions >= 202411L ?
Jakub
More information about the Libstdc++
mailing list