Module: Mesa
Branch: main
Commit: ad7ff4c25bab1ca200360731cfad2d82faebda20
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad7ff4c25bab1ca200360731cfad2d82faebda20

Author: David Heidelberg <[email protected]>
Date:   Wed May  3 01:01:36 2023 +0200

ci/skqp: handle all warnings printed with clang >= 14

Useful for the https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977

Reviewed-by: Guilherme Gallo <[email protected]>
Signed-off-by: David Heidelberg <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22808>

---

 .gitlab-ci/container/build-skqp_base.gn | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci/container/build-skqp_base.gn 
b/.gitlab-ci/container/build-skqp_base.gn
index 3df11647a3a..472b44fb8e4 100644
--- a/.gitlab-ci/container/build-skqp_base.gn
+++ b/.gitlab-ci/container/build-skqp_base.gn
@@ -1,7 +1,12 @@
 cc = "clang"
 cxx = "clang++"
 
-extra_cflags = [ "-DSK_ENABLE_DUMP_GPU", "-DSK_BUILD_FOR_SKQP" ]
+extra_cflags = [
+        "-Wno-error",
+
+        "-DSK_ENABLE_DUMP_GPU",
+        "-DSK_BUILD_FOR_SKQP"
+    ]
 extra_cflags_cc = [
         "-Wno-error",
 
@@ -22,6 +27,13 @@ extra_cflags_cc = [
         "-Wno-suggest-destructor-override",
         "-Wno-return-std-move-in-c++11",
         "-Wno-extra-semi-stmt",
+        "-Wno-reserved-identifier",
+        "-Wno-bitwise-instead-of-logical",
+        "-Wno-reserved-identifier",
+        "-Wno-psabi",
+        "-Wno-unused-but-set-variable",
+        "-Wno-sizeof-array-div",
+        "-Wno-string-concatenation",
     ]
 
 cc_wrapper = "ccache"

Reply via email to