[folks] Disable glib deprecated warnings



commit a062e90a17c303c20063b4aa912779860f2e2de0
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Feb 16 10:02:13 2012 +0100

    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 files changed, 4 insertions(+), 0 deletions(-)
---
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])
 



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