diff options
author | David Robillard <d@drobilla.net> | 2022-05-29 13:35:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-29 13:35:48 -0400 |
commit | 997945c9f4850f1833543465e91d372ef01a338c (patch) | |
tree | 39fe2296cc437825c8640e7a8cd2ad1585d01e58 | |
parent | 62890834b02f158087c2b7bcb19498128c3c6fff (diff) | |
download | jalv-997945c9f4850f1833543465e91d372ef01a338c.tar.gz jalv-997945c9f4850f1833543465e91d372ef01a338c.tar.bz2 jalv-997945c9f4850f1833543465e91d372ef01a338c.zip |
Suppress MSVC warnings
-rw-r--r-- | wscript | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -57,6 +57,23 @@ def configure(conf): '-Wno-bad-function-cast', '-Wno-c++-compat', ], + 'msvc': [ + '/wd4061', # enumerator in switch is not explicitly handled + '/wd4100', # unreferenced formal parameter + '/wd4191', # unsafe function conversion + '/wd4200', # zero-sized array in struct/union + '/wd4244', # possible loss of data from integer conversion + '/wd4267', # possible loss of data from size conversion + '/wd4365', # signed/unsigned mismatch + '/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', # POSIX name for this item is deprecated + '/wd5045', # compiler will insert Spectre mitigation + ], }) autowaf.add_compiler_flags(conf.env, '*', { |