meson: gst-plugins-bad: Disable spammy MSVC warning
authorSeungha Yang <seungha@centricular.com>
Tue, 10 Jan 2023 18:23:57 +0000 (03:23 +0900)
committerSeungha Yang <seungha@centricular.com>
Tue, 10 Jan 2023 18:23:57 +0000 (03:23 +0900)
warning C5051: attribute 'noinline' requires at least '/std:c++20';
ignored

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3705>

subprojects/gst-plugins-bad/meson.build

index afe9e1b..4e584e9 100644 (file)
@@ -64,6 +64,7 @@ if cc.get_id() == 'msvc'
       '/wd4146', # unary minus on unsigned (beware INT_MIN)
       '/wd4244', # lossy type conversion (e.g. double -> int)
       '/wd4305', # truncating type conversion (e.g. double -> float)
+      '/wd5051', # attribute 'attribute-name' requires at least 'standard-level'; ignored
       cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
   ]