This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/51849] New: -Wc99-compat would be considered useful


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]