From ae0fdebaca5b579473e4d1ecfc65e6b7499b6232 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 10 Sep 2012 10:08:09 +0200 Subject: [PATCH] tests: disable deprecation warnings define GLIB_DISABLE_DEPRECATION_WARNINGS earlier so that it is defined before the glib headers are loaded or else we trip over the GValueArray deprecations in gst-inspect.c. --- tests/check/tools/gstinspect.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/check/tools/gstinspect.c b/tests/check/tools/gstinspect.c index 75115b5..e89d998 100644 --- a/tests/check/tools/gstinspect.c +++ b/tests/check/tools/gstinspect.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +/* FIXME 0.11: suppress warnings for deprecated API such as GValueArray + * with newer GLib versions (>= 2.31.0) */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS + #include #include -- 2.7.4