summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-06-17 08:51:44 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2011-06-17 08:51:44 +0200
commitd5c250084913ceae0b91975f165381418b1a1d7e (patch)
tree005d255c032271910f0c2d4f7c9ac10414a5d73c /configure.ac
parent51cd1f6d85fefc58f9857de2a98c0a7d718770de (diff)
Enable gcc -Wformat=2 checks during compilation
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0d9eec5..160132d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -681,7 +681,7 @@ fi
#-Wconversion -Wunreachable-code -Wmissing-noreturn"
-for option in -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat
+for option in -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2
do
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $option"