add -Wdeclaration-after-statement

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29822 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-03-03 09:56:34 +00:00
parent 542a7c3d80
commit 09666b5d16
9 changed files with 27 additions and 12 deletions

View file

@ -39,7 +39,10 @@
#
# Additional flags to pass to the preprocessor
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) -Wall -DNO_GNUSTEP=1
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) \
-Wall \
-Wdeclaration-after-statement \
-DNO_GNUSTEP=1
# Additional flags to pass to the Objective-C compiler
#ADDITIONAL_OBJCFLAGS =

View file

@ -41,6 +41,7 @@
# Additional flags to pass to the preprocessor
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) -Wall \
-Wcast-align \
-Wdeclaration-after-statement \
#-Wstrict-prototypes \
#-Wpointer-arith \
#-Wcast-qual \

View file

@ -39,7 +39,9 @@
#
# Additional flags to pass to the preprocessor
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) -Wall
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) \
-Wall \
-Wdeclaration-after-statement
# Additional flags to pass to the Objective-C compiler
#ADDITIONAL_OBJCFLAGS =

View file

@ -39,7 +39,9 @@
#
# Additional flags to pass to the preprocessor
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) -Wall
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) \
-Wall \
-Wdeclaration-after-statement
# Additional flags to pass to the Objective-C compiler
#ADDITIONAL_OBJCFLAGS =

View file

@ -39,7 +39,9 @@
#
# Additional flags to pass to the preprocessor
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) -Wall
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) \
-Wall \
-Wdeclaration-after-statement
# Additional flags to pass to the Objective-C compiler
#ADDITIONAL_OBJCFLAGS =