mirror of
https://github.com/tmux/tmux.git
synced 2025-01-26 07:58:55 +00:00
Add -Wdeclaration-after-statement.
This commit is contained in:
parent
a3f4eb7b24
commit
c4c98df4f2
@ -31,6 +31,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
|
||||||
CPPFLAGS += -DDEBUG
|
CPPFLAGS += -DDEBUG
|
||||||
endif
|
endif
|
||||||
if IS_GCC4
|
if IS_GCC4
|
||||||
|
Loading…
Reference in New Issue
Block a user