[svn-commits] seanbright: branch seanbright/resolve-shadow-warnings r115505 - /team/seanbri...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue May 6 18:23:50 CDT 2008


Author: seanbright
Date: Tue May  6 18:23:50 2008
New Revision: 115505

URL: http://svn.digium.com/view/asterisk?view=rev&rev=115505
Log:
Well, removing the -Wshadow argument to gcc fixes half of the problem, but I
am still getting these errors when building:

iCBSearch.c:130: warning: operation on ‘pp’ may be undefined
iCBSearch.c:325: warning: operation on ‘pp’ may be undefined

I am half-tempted to remove the -Werror arg, even under dev-mode, but I'll
live with it for now.

Modified:
    team/seanbright/resolve-shadow-warnings/codecs/Makefile

Modified: team/seanbright/resolve-shadow-warnings/codecs/Makefile
URL: http://svn.digium.com/view/asterisk/team/seanbright/resolve-shadow-warnings/codecs/Makefile?view=diff&rev=115505&r1=115504&r2=115505
==============================================================================
--- team/seanbright/resolve-shadow-warnings/codecs/Makefile (original)
+++ team/seanbright/resolve-shadow-warnings/codecs/Makefile Tue May  6 18:23:50 2008
@@ -46,7 +46,7 @@
 $(if $(filter codec_lpc10,$(EMBEDDED_MODS)),modules.link,codec_lpc10.so): $(LIBLPC10)
 
 $(LIBILBC):
-	@$(MAKE) -C ilbc all ASTCFLAGS="$(filter-out -Wmissing-prototypes -Wmissing-declarations,$(ASTCFLAGS)) $(AST_NO_STRICT_OVERFLOW)"
+	@$(MAKE) -C ilbc all ASTCFLAGS="$(filter-out -Wmissing-prototypes -Wmissing-declarations -Wshadow,$(ASTCFLAGS)) $(AST_NO_STRICT_OVERFLOW)"
 
 $(if $(filter codec_ilbc,$(EMBEDDED_MODS)),modules.link,codec_ilbc.so): $(LIBILBC)
 




More information about the svn-commits mailing list