[Bug objc/53345] New: some OPT_Wformat is enabled by default
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 14 14:55:00 GMT 2012
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... :-(
More information about the Gcc-bugs
mailing list