mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
meson: Don't warn about C4146 with MSVC
The error is: unary minus operator applied to unsigned type, result still unsigned This is a commonly-done operation in gstreamer and it's done on purpose. It's just noise.
This commit is contained in:
parent
e3c1a545ba
commit
27df1b6c90
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ if cc.get_id() == 'msvc'
|
||||||
# If a warning is completely useless and spammy, use '/wdXXXX' to suppress it
|
# 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
|
# If a warning is harmless but hard to fix, use '/woXXXX' so it's shown once
|
||||||
# NOTE: Only add warnings here if you are sure they're spurious
|
# NOTE: Only add warnings here if you are sure they're spurious
|
||||||
add_global_arguments('/wd4018', '/wd4244', '/wd4996', language : 'c')
|
add_global_arguments('/wd4018', '/wd4146', '/wd4244', '/wd4333', '/wd4996', language : 'c')
|
||||||
# Disable SAFESEH with MSVC for plugins and libs that use external deps that
|
# Disable SAFESEH with MSVC for plugins and libs that use external deps that
|
||||||
# are built with MinGW
|
# are built with MinGW
|
||||||
noseh_link_args = ['/SAFESEH:NO']
|
noseh_link_args = ['/SAFESEH:NO']
|
||||||
|
|
Loading…
Reference in a new issue