diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-07-02 04:14:09 +0200 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2018-07-13 00:53:27 +0200 |
commit | fb9b70c44f126903869fa212ec6d502bec8ec157 (patch) | |
tree | b3084382c19d1b14f23748e10e5271e621bff855 /meson.build | |
parent | 8f1543838b83e0cc13550be785ae2bb0e3c8f8a7 (diff) | |
download | gst-libav-fb9b70c44f126903869fa212ec6d502bec8ec157.tar.gz |
meson: stop ignoring deprecation warnings!
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meson.build b/meson.build index cd76c72..9679783 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 |