diff options
author | tron <tron@openttd.org> | 2005-02-06 18:38:42 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-06 18:38:42 +0000 |
commit | a0a313490b16deaa516ff2181f57078fff2fe1b3 (patch) | |
tree | b677f7b1e0b6284eeab2a5d2a9b5ddfa1bc26d75 /Makefile | |
parent | c644e6b742eb14185fec50fa5a8918e6d4cc41a0 (diff) | |
download | openttd-a0a313490b16deaa516ff2181f57078fff2fe1b3.tar.xz |
(svn r1828) New warning flag especially for truelight (:<
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |