From fb9b70c44f126903869fa212ec6d502bec8ec157 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Mon, 2 Jul 2018 04:14:09 +0200 Subject: [PATCH] meson: stop ignoring deprecation warnings! https://bugzilla.gnome.org/show_bug.cgi?id=792900 --- meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meson.build b/meson.build index cd76c728b4..967978378d 100644 --- a/meson.build +++ b/meson.build @@ -80,9 +80,7 @@ libm = cc.find_library('m', required : false) configure_file(output : 'config.h', configuration : cdata) gst_libav_args = ['-DHAVE_CONFIG_H'] -if cc.get_id() != 'msvc' - gst_libav_args += ['-Wno-deprecated-declarations'] -else +if cc.get_id() == 'msvc' # Ignore several spurious warnings for things gstreamer does very commonly # If a warning is completely useless and spammy, use '/wdXXXX' to suppress it # If a warning is harmless but hard to fix, use '/woXXXX' so it's shown once