enable -Wdeclaration-after-statement by default

This commit is contained in:
Steffen Jaeckel 2017-03-26 19:30:18 +02:00
parent 7885c91af3
commit 101a7a71ae

View File

@ -35,7 +35,7 @@ CFLAGS += -Wextra
# additional warnings # additional warnings
CFLAGS += -Wsystem-headers -Wbad-function-cast -Wcast-align CFLAGS += -Wsystem-headers -Wbad-function-cast -Wcast-align
CFLAGS += -Wstrict-prototypes -Wpointer-arith CFLAGS += -Wstrict-prototypes -Wpointer-arith
#CFLAGS += -Wdeclaration-after-statement CFLAGS += -Wdeclaration-after-statement
endif endif
CFLAGS += -Wno-type-limits CFLAGS += -Wno-type-limits