[Bug c/67479] Support for -Wformat-pedantic

2019-05-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67479 --- Comment #8 from Eric Gallager --- clang has a -Wformat-pedantic: https://clang.llvm.org/docs/DiagnosticsReference.html#wformat-pedantic

[Bug c/67479] Support for -Wformat-pedantic

2017-03-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67479 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org See A

[Bug c/67479] Support for -Wformat-pedantic

2015-09-07 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67479 --- Comment #6 from 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 syst

[Bug c/67479] Support for -Wformat-pedantic

2015-09-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67479 --- Comment #5 from Manuel López-Ibáñez --- Perhaps this should be called then -Wformat-undefined and not depend on -Wpedantic at all? We still need a -Wx option that is to -pedantic-errors what -Wpedantic is to -Werror=pedantic ...

[Bug c/67479] Support for -Wformat-pedantic

2015-09-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67479 --- Comment #4 from Manuel López-Ibáñez --- (In reply to jos...@codesourcery.com from comment #3) > This should not be a pedwarn, because it only has undefined behavior in > ISO C at runtime, not compile time. But it is enabled by -pedantic -Wf

[Bug c/67479] Support for -Wformat-pedantic

2015-09-07 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67479 --- Comment #3 from joseph at codesourcery dot com --- On Mon, 7 Sep 2015, manu at gcc dot gnu.org wrote: > > Index: c-format.c > === > --- c-format.c (revision 227095) > +++ c-fo

[Bug c/67479] Support for -Wformat-pedantic

2015-09-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67479 --- Comment #2 from Manuel López-Ibáñez --- If maintaining the current behavior, which requires both -Wpedantic and -Wformat, is desired, just define -Wformat-pedantic using LangEnabledBy(, Wformat && Wpedantic) in c.opt.

[Bug c/67479] Support for -Wformat-pedantic

2015-09-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67479 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic, easyhack S