[Bug c/106929] declaration in switch-case doesn't fail since GCC 11
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 13 14:46:18 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106929
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
-std=c89 doesn't mean there aren't any extensions accepted, if you want the
compiler to be pedantic, -pedantic or -pedantic-errors are the options to use
as documented (the former just warns, the latter errors).
More information about the Gcc-bugs
mailing list