meson: Add VS 4624 warning exclusion to remove piles of LLVM warnings
authorDaniel Stone <daniels@collabora.com>
Tue, 28 Jan 2020 12:47:20 +0000 (12:47 +0000)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 30 Mar 2020 10:13:40 +0000 (10:13 +0000)
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>

meson.build

index 45a760c7d02d580052684ffc3ddbf0dbd3fedb94..86824bd8e8ba1328713aef8202a7411cc07ede11 100644 (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