Mesa (master): meson: Add VS 4624 warning exclusion to remove piles of LLVM warnings

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Mar 30 10:34:35 UTC 2020


Module: Mesa
Branch: master
Commit: 04885d61dd228f3da6f88584d3eb1d7e4c228e98
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04885d61dd228f3da6f88584d3eb1d7e4c228e98

Author: Daniel Stone <daniels at collabora.com>
Date:   Tue Jan 28 12:47:20 2020 +0000

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

Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
Reviewed-by: Charmaine Lee <charmainel at vmware.com>
Reviewed-by: Brian Paul <brianp at 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 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 45a760c7d02..86824bd8e8b 100644
--- a/meson.build
+++ b/meson.build
@@ -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



More information about the mesa-commit mailing list