Commit c9185f4a authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Avoid gcc4-specific compiler options.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1413 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 852de2dc
......@@ -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)]),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment