[gtef] build: disable -Werror by default
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtef] build: disable -Werror by default
- Date: Mon, 3 Apr 2017 05:53:36 +0000 (UTC)
commit e9c0bcf45529bd7a1224ba9ae911f116af94268e
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon Apr 3 07:51:26 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 b4d60d1..aa60813 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,9 +79,10 @@ AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums])
LT_PREREQ([2.2.6])
LT_INIT([disable-static])
-# 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]