https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103630
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Also, since the changes for PR 90295 <bits/exception_ptr.h> is no longer usable in C++98: include/bits/exception_ptr.h:182: error: declaration of 'std::__exception_ptr::exception_ptr::exception_ptr()' has a different exception specifier include/bits/exception_ptr.h:107: note: from previous declaration 'std::__exception_ptr::exception_ptr::exception_ptr() throw ()' include/bits/exception_ptr.h:188: error: declaration of 'std::__exception_ptr::exception_ptr::exception_ptr(const std::__exception_ptr::exception_ptr&)' has a different exception specifier include/bits/exception_ptr.h:109: note: from previous declaration 'std::__exception_ptr::exception_ptr::exception_ptr(const std::__exception_ptr::exception_ptr&) throw ()'