[master] 88ba3b3 We don't want to -W check system headers.
Poul-Henning Kamp
phk at varnish-cache.org
Wed Nov 13 14:05:44 CET 2013
commit 88ba3b35a53b453a2d85444052c7e50743c8df86
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Nov 13 13:05:07 2013 +0000
We don't want to -W check system headers.
Detectived by: scn
diff --git a/configure.ac b/configure.ac
index cba0359..42a427c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -456,7 +456,7 @@ CFLAGS="${CFLAGS} -Wall -Werror"
OCFLAGS="${OCFLAGS} -Wall -Werror"
# This corresponds to FreeBSD's WARNS level 6
-DEVELOPER_CFLAGS="-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wno-pointer-sign -Wno-empty-body -Wextra -Wno-missing-field-initializers -Wno-sign-compare"
+DEVELOPER_CFLAGS="-fstack-protector -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wno-pointer-sign -Wno-empty-body -Wextra -Wno-missing-field-initializers -Wno-sign-compare"
# These are not compliable yet
DEVELOPER_GCC_CFLAGS="-Wold-style-definition -Wredundant-decls "
More information about the varnish-commit
mailing list