On Fri, Jul 11, 2025 at 02:26:28PM +0100, Jonathan Wakely wrote: > On Fri, 11 Jul 2025 at 14:19, Jakub Jelinek <ja...@redhat.com> wrote: > > > > 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 ? > > Oops, I meant to use > #if __cpp_lib_constexpr_exceptions >= 202411L > i.e. the lib macro not the core one.
That is even better, agreed. Jakub