zlibWrapper: added gcc flag -Wdeclaration-after-statement

This commit is contained in:
inikep
2016-06-02 22:15:09 +02:00
parent b74a468fad
commit ff2d18928d
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ ZLIBWRAPPER_PATH = .
EXAMPLE_PATH = examples
CC = gcc
CFLAGS = $(LOC) -I../lib/common -I$(ZLIBDIR) -I$(ZLIBWRAPPER_PATH) -O3 -std=gnu90
CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wstrict-prototypes -Wundef
CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef
LDFLAGS = $(LOC)
RM = rm -f