From fd89c927c5192e12ac36d9388b5cd9fb55dc870d Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Thu, 2 Nov 2006 20:24:33 +0100 Subject: [PATCH] brand new flag, to spot a whole lot of new errors. Signed-off-by: Pierre Habouzit --- cflags.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cflags.mk b/cflags.mk index ce2975d..c0287dc 100644 --- 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 -- 2.20.1