meson: stop ignoring deprecation warnings!
authorMathieu Duponchelle <mathieu@centricular.com>
Mon, 2 Jul 2018 02:14:09 +0000 (04:14 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 12 Jul 2018 22:53:27 +0000 (00:53 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=792900

meson.build

index cd76c72..9679783 100644 (file)
@@ -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