https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115792
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |xry111 at gcc dot gnu.org Resolution|INVALID |--- Last reconfirmed| |2024-07-05 Ever confirmed|0 |1 --- Comment #10 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #9) > throw() is not valid in C++23 at all (nor in C++20). GCC accepts it as an > extension, but should probably warn with -pedantic. > > I don't think Clang is wrong here. > > Should we reopen this to add a pedwarn for throw() in C++20 and up? Reopened.