[master] 9662a1b Reduce developer warnings to make jenkins happy

Poul-Henning Kamp phk at varnish-cache.org
Fri Nov 22 10:07:31 CET 2013


commit 9662a1b3e931acd9128bceb9bc920ffa175379e0
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Nov 22 09:07:16 2013 +0000

    Reduce developer warnings to make jenkins happy

diff --git a/configure.ac b/configure.ac
index 905d131..6fdd780 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 -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 -Wextra -Wno-missing-field-initializers -Wno-sign-compare"
 
 # These are not compliable yet
 DEVELOPER_GCC_CFLAGS="-Wold-style-definition -Wredundant-decls "
@@ -464,6 +464,7 @@ DEVELOPER_GCC_CFLAGS="-Wold-style-definition -Wredundant-decls "
 
 # These are compilable
 DEVELOPER_CLANG_CFLAGS="-Wmissing-variable-declarations -Wno-string-plus-int"
+# -Wno-empty-body
 #DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} ${DEVELOPER_CLANG_CFLAGS}"
 
 # --enable-developer-warnings



More information about the varnish-commit mailing list