From d5c54d68d8657428bc8e1d4280152ec24adeacf6 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 31 Mar 2014 21:31:18 +0300 Subject: Remove -Wextra from gcc command line in extension dir.. --- extension/ChangeLog | 6 ++++++ extension/configure | 2 +- extension/configure.ac | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/extension/ChangeLog b/extension/ChangeLog index a07b667e..863fc1e8 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,3 +1,9 @@ +2014-03-31 Arnold D. Robbins + + * configure.ac: Remove -Wextra to avoid killing compilations + on older versions of gcc. Thanks to Antonio Diaz Diaz for + the report. + 2014-03-28 Arnold D. Robbins * configure.ac: Add AC_HEADER_TIME and AC_HEADER_DIRENT, and diff --git a/extension/configure b/extension/configure index 1b7b33d6..7f660287 100755 --- a/extension/configure +++ b/extension/configure @@ -14034,7 +14034,7 @@ pkgextensiondir='${libdir}/gawk' if test "$GCC" = yes then - CFLAGS="$CFLAGS -Wall -Wextra" + CFLAGS="$CFLAGS -Wall" # Don't add -Wextra, hurts older gcc fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special development options" >&5 diff --git a/extension/configure.ac b/extension/configure.ac index 7be50b34..3a0a60b9 100644 --- a/extension/configure.ac +++ b/extension/configure.ac @@ -51,7 +51,7 @@ AC_SUBST([pkgextensiondir], ['${libdir}/gawk']) if test "$GCC" = yes then - CFLAGS="$CFLAGS -Wall -Wextra" + CFLAGS="$CFLAGS -Wall" # Don't add -Wextra, hurts older gcc fi AC_MSG_CHECKING([for special development options]) -- cgit v1.2.1