tests: disable deprecation warnings
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 10 Sep 2012 08:08:09 +0000 (10:08 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 10 Sep 2012 08:08:09 +0000 (10:08 +0200)
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

index 75115b5..e89d998 100644 (file)
  * 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 <config.h>
 #include <gst/check/gstcheck.h>