From a16c9a5f083b6a464e17c65464a12e3d2d140fb3 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 16 Feb 2008 19:05:30 +0000 Subject: [PATCH] add -Werror --- linux/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/Makefile b/linux/Makefile index 8dedf2200..23729f067 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -18,13 +18,13 @@ ifeq ($(MEMDEBUG),TRUE) DEFINES = -DMEM_DEBUG -DDEBUG -CFLAGS += -g $(GPROFFLAG) -Wall -Wunused-parameter +CFLAGS += -g $(GPROFFLAG) -Wall -Wunused-parameter -Wcast-align -Werror CFLAGS += -DDEBUG_TS PLATFORM = obj_linux_memdbg else DEFINES = PLATFORM = obj_linux_rel -CFLAGS += -Os +CFLAGS += -Os -Werror endif DO_CURSES = -DPLATFORM_NCURSES