summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-02-18 15:03:42 +0000
committerKevin P. Fleming <kpfleming@digium.com>2007-02-18 15:03:42 +0000
commit74f31a51bc4fdf14b6f3a5d2f886c65ff882bd55 (patch)
treed3cbfebd5968b6a1cb896ae84b747c066ae3e94c /Makefile
parent7f0934b6f4f2d80f5d7befacb0b7ea51c346d634 (diff)
add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
convert various #if expressions to #ifdef for macros that may not be defined (and where the value is not important) Note: two of these changes are in bison generated files which is going to be inconvenient when they are regenerated git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f716ed9ba..01693b437 100644
--- a/Makefile
+++ b/Makefile
@@ -189,7 +189,7 @@ ASTCFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declar
ASTCFLAGS+=-include $(ASTTOPDIR)/include/asterisk/autoconfig.h
ifeq ($(AST_DEVMODE),yes)
- ASTCFLAGS+=-Werror -Wunused
+ ASTCFLAGS+=-Werror -Wunused -Wundef
endif
ifneq ($(findstring BSD,$(OSARCH)),)