mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-10 08:10:49 +00:00
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:
parent
542a7c3d80
commit
09666b5d16
9 changed files with 27 additions and 12 deletions
|
@ -19,7 +19,8 @@
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public
|
# You should have received a copy of the GNU General Public
|
||||||
# License along with this library; if not, write to the Free
|
# License along with this library; if not, write to the Free
|
||||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
# Boston, MA 02111 USA.
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -36,7 +37,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Additional flags to pass to the preprocessor
|
# Additional flags to pass to the preprocessor
|
||||||
ADDITIONAL_CPPFLAGS =
|
ADDITIONAL_CPPFLAGS = -Wdeclaration-after-statement
|
||||||
|
|
||||||
# Additional flags to pass to the Objective-C compiler
|
# Additional flags to pass to the Objective-C compiler
|
||||||
ADDITIONAL_OBJCFLAGS =
|
ADDITIONAL_OBJCFLAGS =
|
||||||
|
|
|
@ -39,7 +39,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Additional flags to pass to the preprocessor
|
# 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 flags to pass to the Objective-C compiler
|
||||||
ADDITIONAL_OBJCFLAGS = $(SSLFLAGS)
|
ADDITIONAL_OBJCFLAGS = $(SSLFLAGS)
|
||||||
|
|
|
@ -39,7 +39,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Additional flags to pass to the preprocessor
|
# 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 flags to pass to the Objective-C compiler
|
||||||
#ADDITIONAL_OBJCFLAGS =
|
#ADDITIONAL_OBJCFLAGS =
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
# Additional flags to pass to the preprocessor
|
# Additional flags to pass to the preprocessor
|
||||||
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) -Wall \
|
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) -Wall \
|
||||||
-Wcast-align \
|
-Wcast-align \
|
||||||
|
-Wdeclaration-after-statement \
|
||||||
#-Wstrict-prototypes \
|
#-Wstrict-prototypes \
|
||||||
#-Wpointer-arith \
|
#-Wpointer-arith \
|
||||||
#-Wcast-qual \
|
#-Wcast-qual \
|
||||||
|
|
|
@ -39,7 +39,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Additional flags to pass to the preprocessor
|
# 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 flags to pass to the Objective-C compiler
|
||||||
#ADDITIONAL_OBJCFLAGS =
|
#ADDITIONAL_OBJCFLAGS =
|
||||||
|
|
|
@ -39,7 +39,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Additional flags to pass to the preprocessor
|
# 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 flags to pass to the Objective-C compiler
|
||||||
#ADDITIONAL_OBJCFLAGS =
|
#ADDITIONAL_OBJCFLAGS =
|
||||||
|
|
|
@ -39,7 +39,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Additional flags to pass to the preprocessor
|
# 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 flags to pass to the Objective-C compiler
|
||||||
#ADDITIONAL_OBJCFLAGS =
|
#ADDITIONAL_OBJCFLAGS =
|
||||||
|
|
|
@ -37,10 +37,12 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Additional flags to pass to the preprocessor
|
# Additional flags to pass to the preprocessor
|
||||||
# ADDITIONAL_CPPFLAGS +=
|
ADDITIONAL_CPPFLAGS += \
|
||||||
|
-Wall \
|
||||||
|
-Wdeclaration-after-statement
|
||||||
|
|
||||||
# Additional flags to pass to the Objective-C compiler
|
# Additional flags to pass to the Objective-C compiler
|
||||||
ADDITIONAL_OBJCFLAGS += -Wall
|
#ADDITIONAL_OBJCFLAGS +=
|
||||||
|
|
||||||
# Additional flags to pass to the C compiler
|
# Additional flags to pass to the C compiler
|
||||||
#ADDITIONAL_CFLAGS +=
|
#ADDITIONAL_CFLAGS +=
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
ADDITIONAL_CPPFLAGS +=
|
ADDITIONAL_CPPFLAGS +=
|
||||||
|
|
||||||
# Additional flags to pass to the Objective-C compiler
|
# Additional flags to pass to the Objective-C compiler
|
||||||
ADDITIONAL_OBJCFLAGS += -Wall
|
ADDITIONAL_OBJCFLAGS += -Wall -Wdeclaration-after-statement
|
||||||
|
|
||||||
# Additional flags to pass to the C compiler
|
# Additional flags to pass to the C compiler
|
||||||
#ADDITIONAL_CFLAGS +=
|
#ADDITIONAL_CFLAGS +=
|
||||||
|
|
Loading…
Reference in a new issue