This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/53345] New: some OPT_Wformat is enabled by default
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 May 2012 14:51:47 +0000
- Subject: [Bug objc/53345] New: some OPT_Wformat is enabled by default
- Auto-submitted: auto-generated
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... :-(