summaryrefslogtreecommitdiff
path: root/res/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-03-11 11:36:51 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-03-11 11:36:51 +0000
commit79c3038ee531e5d0678859e1f82416c6a1885055 (patch)
treefb0dd86e39fddade0dcd96af295777d21ce0197b /res/Makefile
parenta9a3f001e0973861efd0dff2ea04d8eb0404111a (diff)
Merged revisions 107352 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r107352 | kpfleming | 2008-03-11 06:04:29 -0500 (Tue, 11 Mar 2008) | 11 lines 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: https://origsvn.digium.com/svn/asterisk/trunk@107373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/Makefile')
-rw-r--r--res/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/Makefile b/res/Makefile
index 72f4e8ae0..92f0f336e 100644
--- a/res/Makefile
+++ b/res/Makefile
@@ -30,7 +30,7 @@ ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
endif
ael/ael_lex.o: ael/ael_lex.c ../include/asterisk/ael_structs.h ael/ael.tab.h
-ael/ael_lex.o: ASTCFLAGS+=-I. -Iael
+ael/ael_lex.o: ASTCFLAGS+=-I. -Iael -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. -Iael -DYYENABLE_NLS=0