[gspell] build: disable -Werror by default



commit 6ef090c7ee18249fa9b337b86ed01dac31545776
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Apr 3 07:48:45 2017 +0200

    build: disable -Werror by default
    
    See this thread:
    https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00000.html
    
    -Werror was anyway already disabled by default in Jhbuild.

 configure.ac |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4564f70..23e0ef8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -84,9 +84,10 @@ LT_INIT([disable-static])
 # Pull GLib utility
 AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources)
 
-# Compile warnings
+# Compile warnings. There can be deprecation warnings at any time, so disable
+# -Werror by default with the [yes] argument.
 AX_REQUIRE_DEFINED([AX_COMPILER_FLAGS])
-AX_COMPILER_FLAGS([WARN_CFLAGS], [WARN_LDFLAGS])
+AX_COMPILER_FLAGS([WARN_CFLAGS], [WARN_LDFLAGS], [yes])
 
 # Dynamic linking dependencies
 AX_REQUIRE_DEFINED([AX_PKG_CHECK_MODULES])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]