diff --git a/meson.build b/meson.build index f7ed6c73af6..cbd8e72d176 100644 --- a/meson.build +++ b/meson.build @@ -986,6 +986,8 @@ if cc.get_id() == 'msvc' '/wd4624', # destructor was implicitly defined as deleted [from LLVM] '/wd4309', # 'initializing': truncation of constant value '/wd4838', # conversion from 'int' to 'const char' requires a narrowing conversion + '/we4020', # Error when passing the wrong number of parameters + '/we4024', # Error when passing different type of parameter ] if cc.has_argument(a) c_args += a