meson: Add VS 4624 warning exclusion to remove piles of LLVM warnings

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4343>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4343>
This commit is contained in:
Daniel Stone
2020-01-28 12:47:20 +00:00
committed by Erik Faye-Lund
parent 5127160fb6
commit 04885d61dd

View File

@@ -935,7 +935,9 @@ if cc.get_id() == 'msvc'
'/wd4996', # disabled deprecated POSIX name warnings
'/wd4291', # no matching operator delete found
'/wd4146', # unary minus operator applied to unsigned type, result still unsigned
'/wd4200'] # nonstandard extension used: zero-sized array in struct/union
'/wd4200', # nonstandard extension used: zero-sized array in struct/union
'/wd4624', # destructor was implicitly defined as deleted [from LLVM]
]
if cc.has_argument(a)
c_args += a
endif