From 72a92f768bcc5ba2a5ca7e9ccff5f0d27b83c77f Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 11 Mar 2008 11:04:29 +0000 Subject: fix up various compiler warnings found with gcc-4.3: - the output of flex includes a static function called 'input' that is not used, so for the moment we'll stop having the compiler tell us about unused variables in the flex source files (a better fix would be to improve our flex post-processing to remove the unused function) - main/stdtime/localtime.c makes assumptions about signed integer overflow, and gcc-4.3's improved optimizer tries to take advantage of handling potential overflow conditions at compile time; for now, suppress these optimizations until we can fiure out if the code needs improvement - main/udptl.c has some references to uninitialized variables; in one case there was no bug, but in the other it was certainly possibly for unexpected behavior to occur - main/editline/readline.c had an unused variable git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@107352 f38db490-d61c-443f-a65b-d21fe96a405b --- pbx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbx/Makefile') diff --git a/pbx/Makefile b/pbx/Makefile index f3a97b55e..b7a8c0067 100644 --- a/pbx/Makefile +++ b/pbx/Makefile @@ -35,7 +35,7 @@ clean:: rm -f ael/*.o ael/ael_lex.o: ael/ael_lex.c ../include/asterisk/ael_structs.h ael/ael.tab.h -ael/ael_lex.o: ASTCFLAGS+=-I. +ael/ael_lex.o: ASTCFLAGS+=-I. -Wno-unused ael/ael.tab.o: ael/ael.tab.c ael/ael.tab.h ../include/asterisk/ael_structs.h ael/ael.tab.o: ASTCFLAGS+=-I. -- cgit v1.2.3