https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115792

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
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?

Reply via email to