r1413 - trunk/varnish-cache

des at projects.linpro.no des at projects.linpro.no
Fri May 11 14:01:47 CEST 2007


Author: des
Date: 2007-05-11 14:01:47 +0200 (Fri, 11 May 2007)
New Revision: 1413

Modified:
   trunk/varnish-cache/configure.ac
Log:
Avoid gcc4-specific compiler options.


Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac	2007-05-11 11:35:59 UTC (rev 1412)
+++ trunk/varnish-cache/configure.ac	2007-05-11 12:01:47 UTC (rev 1413)
@@ -103,10 +103,10 @@
 # libraries, set CFLAGS to what we want them to be for our own code
 
 # This corresponds to FreeBSD's WARNS level 6
-DEVELOPER_CFLAGS="-Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wformat"
+DEVELOPER_CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wformat"
 
 # Turn off warnings for two issues which occur frequently in our code
-DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} -Wno-missing-field-initializers -Wno-sign-compare"
+#DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} -Wextra -Wno-missing-field-initializers -Wno-sign-compare"
 
 AC_ARG_ENABLE(developer-warnings,
 	AS_HELP_STRING([--enable-developer-warnings],[enable strict warnings (default is NO)]),




More information about the varnish-commit mailing list