Added -Werror=maybe-uninitialized

This commit is contained in:
Steve 2016-04-25 09:52:08 +01:00
parent f55d01d6dc
commit f0b5fcab9c
1 changed files with 2 additions and 2 deletions

View File

@ -12,9 +12,9 @@ OBJS += unixInit.o
include common.mk
CXXFLAGS += `sdl2-config --cflags` -DVERSION=$(VERSION) -DREVISION=$(REVISION) -DDATA_DIR=\"$(DATA_DIR)\" -DLOCALE_DIR=\"$(LOCALE_DIR)\"
CXXFLAGS += -Wall -Wempty-body -ansi -pedantic -Werror -Wstrict-prototypes
CXXFLAGS += -ansi -pedantic
CXXFLAGS += -Wall -Wempty-body -Werror -Wstrict-prototypes -Werror=maybe-uninitialized
CXXFLAGS += -g -lefence
CXXFLAGS += -O2 -Wno-unused-result
LFLAGS := `sdl2-config --libs` -lSDL2_mixer -lSDL2_image -lSDL2_ttf -lm