[6.0] 17e14997e Do not silence address or pointer-sign warnings
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Aug 16 08:52:54 UTC 2018
commit 17e14997e3d169ac8584014bf43425e87321da27
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Thu May 3 08:02:50 2018 +0200
Do not silence address or pointer-sign warnings
After recent failures discovered by travis-ci it should be safe to
have this back on.
diff --git a/configure.ac b/configure.ac
index 17c6f17c9..bda22723e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -644,15 +644,8 @@ AC_ARG_ENABLE(developer-warnings,
[enable_developer_warnings=no])
if test "x$SUNCC" != "xyes" && test "x$enable_developer_warnings" != "xno"; then
- # compiler flags not available on gcc3
- AX_CHECK_COMPILE_FLAG([-Wno-pointer-sign],
- [DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} -Wno-pointer-sign"], [], [])
- # Not available in gcc 4.1.2
- AX_CHECK_COMPILE_FLAG([-Wno-address],
- [DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} -Wno-address"])
-
- # no known way to specifically disabling missing-field-initializers warnings
- # keeping the rest of Wextra
+ # no known way to specifically disabling missing-field-initializers
+ # warnings keeping the rest of Wextra
AX_CHECK_COMPILE_FLAG([-Wno-missing-field-initializers],
[DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} -Wno-missing-field-initializers"],
[DEVELOPER_CFLAGS="${DEVELOPER_CFLAGS} -Wno-extra"],
More information about the varnish-commit
mailing list