diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-28 18:34:07 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-28 18:34:07 +0000 |
commit | 4be5924a94eee93882f8976c85bac98f390f8b00 (patch) | |
tree | 01a0dc699f2a033261bde10f792425d2b44f883d /Makefile | |
parent | 6e0e033e94d026517dbd70197ca3dc681b3c7f24 (diff) |
Add -Wdeclaration-after-statement to AST_DEVMODE
to detect declarations in the middle of a block.
Approved by: Russel, Kevin
The fallout will be fixed in separate commits.
I am doing this only on trunk only for the time being, because 1.4
still requires a bit more polishing to give a clean compile
(at least on FreeBSD).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72452 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -193,7 +193,7 @@ ASTCFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declar ASTCFLAGS+=-include $(ASTTOPDIR)/include/asterisk/autoconfig.h ifeq ($(AST_DEVMODE),yes) - ASTCFLAGS+=-Werror -Wunused -Wundef + ASTCFLAGS+=-Werror -Wunused -Wundef -Wdeclaration-after-statement endif ifneq ($(findstring BSD,$(OSARCH)),) |