(svn r3296) Warn about testing an undefined macro with #if - should most probably be #ifdef
authortron
Wed, 14 Dec 2005 06:16:34 +0000
changeset 2751 4ee82551f3f7
parent 2750 f003e561f4b9
child 2752 b5fe5a7e6282
(svn r3296) Warn about testing an undefined macro with #if - should most probably be #ifdef
Makefile
--- a/Makefile	Tue Dec 13 22:28:44 2005 +0000
+++ b/Makefile	Wed Dec 14 06:16:34 2005 +0000
@@ -293,7 +293,7 @@
 # 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)