meson: Disable the more useless warnings in MSVC.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
parent
4e9b341d45
commit
812634b68b
10
meson.build
10
meson.build
|
@ -59,7 +59,15 @@ endif
|
|||
add_project_arguments(vkd3d_compiler.get_supported_arguments([
|
||||
'-Wno-format',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-unused-parameter']),
|
||||
'-Wno-unused-parameter',
|
||||
'/wd4244', # Narrowing conversion
|
||||
'/wd4101', # Unreferenced local variable
|
||||
'/wd4267', # Another narrowing conversion
|
||||
'/wd4996', # Secure no warnings
|
||||
'/wd4334', # Result of 32-bit shift cast to 64-bit
|
||||
'/wd4146', # Unary minus on unsigned
|
||||
'/wd4305', # Truncation from double to float
|
||||
]),
|
||||
language : 'c')
|
||||
|
||||
if cpu_family == 'x86'
|
||||
|
|
Loading…
Reference in New Issue