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 objc/53345] New: some OPT_Wformat is enabled by default


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53345

             Bug #: 53345
           Summary: some OPT_Wformat is enabled by default
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: objc
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: manu@gcc.gnu.org


If a warning is controlled by warn_format, then it is disabled by default.
However, cl_options[OPT_Wformat] is initialized to -1 by optc-gen.awk, so
anything not checking warn_format is enabled by default. What a mess... :-(


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