http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57137

--- Comment #5 from Zbigniew Jędrzejewski-Szmek <zbyszek at in dot waw.pl> 
2013-05-02 02:02:18 UTC ---
(In reply to comment #4)
> What options are you using when calling gcc?

Ah, I had it copied but forgot to paste...

gcc -pipe -Wall -Wextra -Wno-inline -Wundef -Wformat=2 -Wformat-security
-Wformat-nonliteral -Wlogical-op -Wsign-compare -Wmissing-include-dirs
-Wold-style-definition -Wpointer-arith -Winit-self
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn
-Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings
-Wno-long-long -Wno-overlength-strings -Wno-unused-parameter
-Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -ffast-math
-fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden
-ffunction-sections -fdata-sections -fstack-protector --param=ssp-buffer-size=4
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include       -pthread -O0 -g -c
unit.c -save-temps

or simpler:

gcc -Wformat-nonliteral -Wformat=2  -c unit.c -save-temps

Reply via email to