mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-27 02:23:15 +01:00
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.)
This commit is contained in:
parent
ffb83d23e1
commit
c2bbaab2ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user