(svn r1828) New warning flag especially for truelight (:<

This commit is contained in:
tron 2005-02-06 18:38:42 +00:00
parent 2fb453a4a5
commit d48261aa23

View File

@ -273,7 +273,7 @@ CC_VERSION = $(shell $(CC) -dumpversion | cut -c 1,3)
# this is a workaround to test for >=
ifeq ($(shell if test $(CC_VERSION) -ge 29; then echo true; fi), true)
CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes
CFLAGS += -Wwrite-strings
CFLAGS += -Wwrite-strings -Wpointer-arith
endif
ifeq ($(shell if test $(CC_VERSION) -ge 30; then echo true; fi), true)
CFLAGS += -W -Wno-unused-parameter