[Bug c/67479] New: Support for -Wformat-pedantic
mark at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 7 11:58:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67479
Bug ID: 67479
Summary: Support for -Wformat-pedantic
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: mark at gcc dot gnu.org
Target Milestone: ---
Currently to get pedantic format warning, like for the usage of deprecated old
'Z', 'q', etc gnu_printf modifiers, you need to give both -Wpedantic and
-Wformat. But this enables also non-format specific pedantic warnings.
It would be nice to -Wformat-pedantic to just get the format related warnings
(or maybe a -Wformat-deprecated just for warning about the deprecated
gnu_printf modifiers).
More information about the Gcc-bugs
mailing list