summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-10-27 09:06:33 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-10-27 23:06:25 +0530
commit27df1b6c902f0c1790eae884265b44b465d1fbb4 (patch)
tree5f7f2cf0783c0998fa0cf5aed92d48fff7984e0a
parente3c1a545ba05346cdc003786208447f79bb16f15 (diff)
downloadgstreamer-plugins-bad-27df1b6c902f0c1790eae884265b44b465d1fbb4.tar.gz
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.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 51bda6a15..44036928e 100644
--- a/meson.build
+++ b/meson.build
@@ -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 harmless but hard to fix, use '/woXXXX' so it's shown once
# 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
# are built with MinGW
noseh_link_args = ['/SAFESEH:NO']