From a062e90a17c303c20063b4aa912779860f2e2de0 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 16 Feb 2012 10:02:13 +0100 Subject: [PATCH] Disable glib deprecated warnings We need GValueArray for dbus-glib, and it got deprecated in GLib 2.31.x https://bugzilla.gnome.org/show_bug.cgi?id=670196 --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index bb45b05..0df9011 100644 --- a/configure.ac +++ b/configure.ac @@ -405,6 +405,10 @@ IT_PROG_INTLTOOL([0.35.0]) # Error flags # ----------------------------------------------------------- +# Disable GLib deprecation warnings for now (#670196); GValueArray is deprecated +# but we need it for dbus-glib. Porting to GDBus will solve this (#653198) +AC_DEFINE(GLIB_DISABLE_DEPRECATION_WARNINGS, 1, [Build with GLib deprecated]) + AS_COMPILER_FLAG([-Wall], [ERROR_CFLAGS="-Wall"], [ERROR_CFLAGS=""]) AS_COMPILER_FLAG([-Werror], [werror=yes], [werror=no]) -- 2.7.4