This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/51849] New: -Wc99-compat would be considered useful
- From: "bkoz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Jan 2012 17:26:43 +0000
- Subject: [Bug c/51849] New: -Wc99-compat would be considered useful
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51849
Bug #: 51849
Summary: -Wc99-compat would be considered useful
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: bkoz@gcc.gnu.org
The default "C" language dialect for GCC is gnu89. To ease the transition to
the eventual switch to gnu99, a warning flag is desired that can flag
potentially changed language features between C89 and C99, much like
-Wc++11-compat helps programmers transition from C++03 to C++11.
See some of the commentary from Joseph here:
http://gcc.gnu.org/ml/gcc/2012-01/msg00126.html