From ac377f8e7e313a62b8bad4e5915e69bd4bea6f6c Mon Sep 17 00:00:00 2001 From: des Date: Fri, 11 May 2007 12:01:47 +0000 Subject: [PATCH] Avoid gcc4-specific compiler options. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1413 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/configure.ac b/varnish-cache/configure.ac index cff31b08..348bad0f 100644 --- a/varnish-cache/configure.ac +++ b/varnish-cache/configure.ac @@ -103,10 +103,10 @@ AC_CHECK_FUNCS([poll]) # 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)]), -- 2.39.5