brand new flag, to spot a whole lot of new errors.
authorPierre Habouzit <madcoder@debian.org>
Thu, 2 Nov 2006 19:24:33 +0000 (20:24 +0100)
committerPierre Habouzit <madcoder@debian.org>
Thu, 2 Nov 2006 19:24:33 +0000 (20:24 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
cflags.mk

index ce2975d..c0287dc 100644 (file)
--- a/cflags.mk
+++ b/cflags.mk
@@ -43,3 +43,5 @@ CFLAGS += -Wuninitialized
 CFLAGS += -Wpointer-arith
 # warn about multiple declarations
 CFLAGS += -Wredundant-decls
+# warn if the format string is not a string literal
+CFLAGS += -Wformat-nonliteral