From d5c250084913ceae0b91975f165381418b1a1d7e Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Fri, 17 Jun 2011 08:51:44 +0200 Subject: [PATCH] Enable gcc -Wformat=2 checks during compilation --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0d9eec53..160132d2 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"