Makefile
changeset 1093 4fdc46eaf423
parent 1069 f6b7607231e5
child 1099 ad7522bd5c1c
--- a/Makefile	Sat Jan 22 19:41:30 2005 +0000
+++ b/Makefile	Sat Jan 22 20:23:18 2005 +0000
@@ -299,13 +299,13 @@
 # GNU make can only test for (in)equality
 # 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
+  CFLAGS += -O -Wall -Wno-multichar -Wsign-compare -Wstrict-prototypes
 endif
 ifeq ($(shell if test $(CC_VERSION) -ge 30; then echo true; fi), true)
   CFLAGS += -W -Wno-unused-parameter
 endif
 ifeq ($(shell if test $(CC_VERSION) -ge 34; then echo true; fi), true)
-  CFLAGS += -Wdeclaration-after-statement
+  CFLAGS += -Wdeclaration-after-statement -Wold-style-definition
 endif
 
 CDEFS=-DWITH_REV