https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Hmm, except that -pedantic never warned about that for C++20 and C++23 modes.
redi at gcc dot gnu.org via Gcc-bugs Tue, 01 Jul 2025 08:02:36 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Hmm, except that -pedantic never warned about that for C++20 and C++23 modes.