[master] d842198 Make --enable-developer-warnings also put the VCC backend C-compiler into nitpicking mode, so the test-cases reveal if the VCC outputs anything bogus or suspect.
Poul-Henning Kamp
phk at varnish-cache.org
Tue Nov 12 20:23:56 CET 2013
commit d842198de2da59220efd15d58946aba5f23ee322
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Nov 12 19:23:06 2013 +0000
Make --enable-developer-warnings also put the VCC backend C-compiler
into nitpicking mode, so the test-cases reveal if the VCC outputs
anything bogus or suspect.
diff --git a/configure.ac b/configure.ac
index cea8ebc..ba8cf01 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,7 @@ AC_ARG_WITH([rst2man],
[RST2MAN="$withval"],
[AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], "no")
if test "x$RST2MAN" = "xno"; then
- AC_MSG_WARN([rst2man not found – not building man pages])
+ AC_MSG_WARN([rst2man not found - not building man pages])
fi])
AM_CONDITIONAL(HAVE_RST2MAN,[test "x$RST2MAN" != "xno"])
@@ -65,7 +65,7 @@ AC_ARG_WITH([rst2html],
[RST2HTML="$withval"],
[AC_CHECK_PROGS(RST2HTML, [rst2html rst2html.py], "no")
if test "x$RST2HTML" = "xno"; then
- AC_MSG_WARN([rst2html not found – not building changelog])
+ AC_MSG_WARN([rst2html not found - not building changelog])
fi])
AM_CONDITIONAL(HAVE_RST2HTML,[test "x$RST2HTML" != "xno"])
@@ -458,7 +458,8 @@ EXTRA_DEVELOPER_CFLAGS="-Wextra -Wno-missing-field-initializers -Wno-sign-compar
# --enable-developer-warnings
AC_ARG_ENABLE(developer-warnings,
AS_HELP_STRING([--enable-developer-warnings],[enable strict warnings (default is NO)]),
- CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}")
+ CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}";
+ OCFLAGS="${OCFLAGS} ${DEVELOPER_CFLAGS} -Werror")
# --enable-debugging-symbols
AC_ARG_ENABLE(debugging-symbols,
More information about the varnish-commit
mailing list