meson: gst-plugins-bad: Disable spammy MSVC warning

warning C5051: attribute 'noinline' requires at least '/std:c++20';
ignored

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3705>
This commit is contained in:
Seungha Yang 2023-01-11 03:23:57 +09:00
parent d2ef7819d3
commit 9a6b9e274a

View 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
]