From 74f31a51bc4fdf14b6f3a5d2f886c65ff882bd55 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Sun, 18 Feb 2007 15:03:42 +0000 Subject: 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 --- main/ast_expr2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/ast_expr2.c') diff --git a/main/ast_expr2.c b/main/ast_expr2.c index 5c1d9bf71..85515c455 100644 --- a/main/ast_expr2.c +++ b/main/ast_expr2.c @@ -367,7 +367,7 @@ typedef short int yytype_int16; #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #ifndef YY_ -# if YYENABLE_NLS +# ifdef YYENABLE_NLS # if ENABLE_NLS # include /* INFRINGES ON USER NAME SPACE */ # define YY_(msgid) dgettext ("bison-runtime", msgid) -- cgit v1.2.3