From c2bbaab2ac06420fa56c872294a9f8d7b326571e Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Sun, 15 Feb 2015 20:07:48 +0000 Subject: Add -Wno-format-nonliteral to Makefile.am Shut GCC up about non-literal arguments to functions which make use of placeholder expansions (printf, strftime, etc.) --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 63e20b17..ccb3c2ad 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,7 +32,7 @@ CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align -CFLAGS += -Wdeclaration-after-statement +CFLAGS += -Wdeclaration-after-statement -Wno-format-nonliteral CPPFLAGS += -DDEBUG endif if IS_GCC4 -- cgit