add -Werror

This commit is contained in:
ehouse 2008-02-16 19:05:30 +00:00
parent 25b568d22e
commit a16c9a5f08

View file

@ -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