From fffe83061fecd26f5b534f47148ebc046cb03366 Mon Sep 17 00:00:00 2001 From: Ken Brown Date: Tue, 14 Jun 2016 21:29:35 -0400 Subject: [PATCH 7/7] Avoid "address" compiler warnings * configure.ac: Disable the -Wno-address compiler warning for the MinGW and Cygwin-w32 builds. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 2674806..3565905 100644 --- a/configure.ac +++ b/configure.ac @@ -995,6 +995,11 @@ AC_DEFUN gl_WARN_ADD([-Wno-pointer-sign]) fi + # This causes too much noise in the MinGW and Cygwin-w32 builds. + if test $opsys = mingw32 || (test $opsys = cygwin && test $with_w32 = yes); then + gl_WARN_ADD([-Wno-address]) + fi + AC_DEFINE([GCC_LINT], [1], [Define to 1 if --enable-gcc-warnings.]) AC_DEFINE([GNULIB_PORTCHECK], [1], [enable some gnulib portability checks]) AH_VERBATIM([GNULIB_PORTCHECK_FORTIFY_SOURCE], -- 2.8.3