1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08: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:
Thomas Adam 2015-02-15 20:07:48 +00:00
parent ffb83d23e1
commit c2bbaab2ac

View File

@ -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