[Bug c/67479] Support for -Wformat-pedantic
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Mon Sep 7 19:27:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67479
--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Mon, 7 Sep 2015, manu at gcc dot gnu.org wrote:
> Perhaps this should be called then -Wformat-undefined and not depend on
> -Wpedantic at all?
But if you're writing code for the GNU system, there's nothing wrong with
such formats; they aren't undefined. It's specifically a warning for code
outside the standard, not for code there's anything wrong with if you're
not trying to restrict yourself to standard library features.
More information about the Gcc-bugs
mailing list