[master] 8b01507 Do not silence address or pointer-sign warnings

Federico G. Schwindt fgsch at lodoss.net
Thu May 3 06:30:28 UTC 2018


commit 8b015073f03c0b7790141f5e7f2104edc1a6bd73
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 3877a49..6e6734c 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