Use -Wdeclaration-after-statement.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 21 Dec 2005 23:48:57 +0000 (23:48 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 21 Dec 2005 23:48:57 +0000 (23:48 +0000)
src/Make.config

index b1d480e70ae51453e636057e5b7d556722443825..fdf6ce164901a928f195355aadb1d588dc34baf5 100644 (file)
@@ -24,7 +24,8 @@ endif
 
 # Compiler and assembler invocation.
 DEFINES =
-WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers
+WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers \
+          -Wdeclaration-after-statement
 CFLAGS = -g -MMD -msoft-float
 CPPFLAGS = -nostdinc -I$(SRCDIR) -I$(SRCDIR)/lib
 ASFLAGS = -Wa,--gstabs -MMD