mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00: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 += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
|
||||||
CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
|
CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
|
||||||
CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align
|
CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align
|
||||||
CFLAGS += -Wdeclaration-after-statement
|
CFLAGS += -Wdeclaration-after-statement -Wno-format-nonliteral
|
||||||
CPPFLAGS += -DDEBUG
|
CPPFLAGS += -DDEBUG
|
||||||
endif
|
endif
|
||||||
if IS_GCC4
|
if IS_GCC4
|
||||||
|
Loading…
Reference in New Issue
Block a user