stop on warning
This commit is contained in:
2
Makefile
2
Makefile
@@ -14,7 +14,7 @@ LIB_OBJECTS := $(patsubst %.c, %.o, $(LIB_SOURCES))
|
|||||||
TEST_OBJECTS := $(patsubst %.c, %.o, $(TEST_SOURCES))
|
TEST_OBJECTS := $(patsubst %.c, %.o, $(TEST_SOURCES))
|
||||||
|
|
||||||
ifeq ($(DEBUG), yes)
|
ifeq ($(DEBUG), yes)
|
||||||
CFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wconversion -fPIC -g3 -D__DEBUG__
|
CFLAGS := -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wconversion -fPIC -g3 -D__DEBUG__
|
||||||
LFLAGS :=
|
LFLAGS :=
|
||||||
else ifeq ($(DEBUG), asan)
|
else ifeq ($(DEBUG), asan)
|
||||||
CFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wconversion -fsanitize=address -fPIC -g3 -D__DEBUG__
|
CFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wconversion -fsanitize=address -fPIC -g3 -D__DEBUG__
|
||||||
|
|||||||
Reference in New Issue
Block a user