[asterisk-commits] rizzo: trunk r72727 - /trunk/main/minimime/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 29 16:14:12 CDT 2007


Author: rizzo
Date: Fri Jun 29 16:14:12 2007
New Revision: 72727

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72727
Log:
As the comment in the code says:

Use weaker error checking because we have some automatically generated
files. However just mask out -Werror, because other warnings below:
     -Wundef -Wstrict-prototypes -Wmissing-declarations
     -Wmissing-prototypes
may actually be important and spot out real bugs.


Modified:
    trunk/main/minimime/Makefile

Modified: trunk/main/minimime/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/main/minimime/Makefile?view=diff&rev=72727&r1=72726&r2=72727
==============================================================================
--- trunk/main/minimime/Makefile (original)
+++ trunk/main/minimime/Makefile Fri Jun 29 16:14:12 2007
@@ -35,7 +35,12 @@
 MM_OBJS:=$(MM_SRCS:%.c=%.o)
 MM_HDRS:=mm.h mm_util.h
 
-ASTCFLAGS:=$(filter-out -Werror -Wundef -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes,$(ASTCFLAGS))
+# Use weaker error checking because we have some automatically generated
+# files. However just mask out -Werror, because other warnings below:
+#	-Wundef -Wstrict-prototypes -Wmissing-declarations
+#	-Wmissing-prototypes
+# may actually be important and spot out real bugs.
+ASTCFLAGS:=$(filter-out -Werror,$(ASTCFLAGS))
 
 all: $(LIBMMIME)
 




More information about the asterisk-commits mailing list