diff options
author | tron <tron@openttd.org> | 2005-12-14 06:16:34 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-12-14 06:16:34 +0000 |
commit | ce94c90a7b966c0bff294f2b582068d984ba172c (patch) | |
tree | d6085907293b388ad5ed482dc6379eae6fc958bc | |
parent | d8727d7fcd34499fcb7c12551b926a45477520da (diff) | |
download | openttd-ce94c90a7b966c0bff294f2b582068d984ba172c.tar.xz |
(svn r3296) Warn about testing an undefined macro with #if - should most probably be #ifdef
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -293,7 +293,7 @@ CC_VERSION = $(shell $(CC) -dumpversion | cut -c 1,3) # GNU make can only test for (in)equality # this is a workaround to test for >= ifeq ($(shell expr $(CC_VERSION) \>= 29), 1) - CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes + CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes -Wundef CFLAGS += -Wwrite-strings -Wpointer-arith endif ifeq ($(shell expr $(CC_VERSION) \>= 30), 1) |