[latexila] build: disable -Werror by default



commit 466b35e4a26b17da16938c99a480feed23b9b2e8
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Apr 3 07:46:39 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 |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 59c42c0..391c7ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,6 +116,11 @@ AC_DEFINE_UNQUOTED([LOCALE_DIR],
                   ["${LOCALE_DIR}"],
                   [locale directory])
 
+# 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], [yes])
+
 # Misc
 AX_REQUIRE_DEFINED([YELP_HELP_INIT])
 YELP_HELP_INIT
@@ -123,9 +128,6 @@ YELP_HELP_INIT
 AX_REQUIRE_DEFINED([GLIB_GSETTINGS])
 GLIB_GSETTINGS
 
-AX_REQUIRE_DEFINED([AX_COMPILER_FLAGS])
-AX_COMPILER_FLAGS([WARN_CFLAGS], [WARN_LDFLAGS])
-
 AX_REQUIRE_DEFINED([GOBJECT_INTROSPECTION_CHECK])
 GOBJECT_INTROSPECTION_CHECK([1.30.0])
 


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