aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 0b7b9fa..02fae17 100644
--- a/meson.build
+++ b/meson.build
@@ -64,15 +64,16 @@ if get_option('strict')
]
elif cc.get_id() == 'msvc'
c_warnings += [
- '/wd4061', # enumerator in switch is not explicitly handled
'/wd4028', # formal parameter different from declaration
+ '/wd4061', # enumerator in switch is not explicitly handled
'/wd4191', # unsafe conversion from type to type
- '/wd4996', # function or variable may be unsafe
'/wd4514', # unreferenced inline function has been removed
'/wd4706', # assignment within conditional expression
'/wd4710', # function not inlined
'/wd4711', # function selected for automatic inline expansion
+ '/wd4800', # implicit conversion from int to bool
'/wd4820', # padding added after construct
+ '/wd4996', # function or variable may be unsafe
'/wd5045', # will insert Spectre mitigation for memory load
]
endif
@@ -119,6 +120,7 @@ if get_option('strict')
'/wd4706', # assignment within conditional expression
'/wd4710', # function not inlined
'/wd4711', # function selected for automatic inline expansion
+ '/wd4800', # implicit conversion from int to bool
'/wd4820', # padding added after construct
'/wd4868', # compiler may not enforce left-to-right evaluation order
'/wd4996', # function or variable may be unsafe