From f0b5fcab9c3de04b85ef0c44701dab76d9bbfaf4 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 25 Apr 2016 09:52:08 +0100 Subject: [PATCH] Added -Werror=maybe-uninitialized --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 9c34848..b1e505c 100644 --- a/makefile +++ b/makefile @@ -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