[Bug c/96284] Outdated C features should be made errors with newer standards
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 22 17:18:35 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96284
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |82922
Ever confirmed|0 |1
CC| |msebor at gcc dot gnu.org
Status|UNCONFIRMED |NEW
Last reconfirmed| |2020-07-22
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
I support including more diagnostics in -Wall and -Werror, and some perhaps
even by default. Especially those for "features" as unsafe as function
declarations without a prototype. See also pr82922. So confirmed on that
basis. I should resubmit my patch for it to see if we can make more progress
there for GCC 11.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82922
[Bug 82922] Request: add -Wstrict-prototypes to -Wextra as K&R style is
obsolescent
More information about the Gcc-bugs
mailing list