From 772dc44ea49bcac1b7fb86c86153f02fe347f948 Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 10 Mar 2016 11:57:18 +0000 Subject: [PATCH] Added -Wempty-body. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index af627c9..afd1d2e 100644 --- a/makefile +++ b/makefile @@ -10,7 +10,7 @@ OBJS += unixInit.o include common.mk CXXFLAGS += `sdl2-config --cflags` -DVERSION=$(VERSION) -DREVISION=$(REVISION) -DDATA_DIR=\"$(DATA_DIR)\" -DLOCALE_DIR=\"$(LOCALE_DIR)\" -CXXFLAGS += -Wall -ansi -pedantic -Werror -Wstrict-prototypes +CXXFLAGS += -Wall -Wempty-body -ansi -pedantic -Werror -Wstrict-prototypes CXXFLAGS += -g -lefence LFLAGS := `sdl2-config --libs` -lSDL2_mixer -lSDL2_image -lSDL2_ttf -lm