From ad7ff4c25bab1ca200360731cfad2d82faebda20 Mon Sep 17 00:00:00 2001 From: David Heidelberg Date: Wed, 3 May 2023 01:01:36 +0200 Subject: [PATCH] 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 Signed-off-by: David Heidelberg Part-of: --- .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"