From 1679b7b4cf6567de86f162320e6f7e26921a643b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 29 Aug 2024 13:58:03 -0700 Subject: [PATCH] vulkan-samples: Add Wno-error=overriding-option and remove Wno-error=deprecated-declarations https://github.com/jtv/libpqxx/issues/738 seems to have been fixed Workaround issue with clang-20 caused by https://github.com/ARM-software/astc-encoder/commit/8377e52e57c1fb5bcf159aa981f3b25b7bad1cb3 Signed-off-by: Khem Raj --- conf/nonclangable.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 70e72b5f..70b5be99 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -333,8 +333,8 @@ CXXFLAGS:pn-libeigen:append:toolchain-clang:powerpc = " -DEIGEN_ALTIVEC_DISABLE_ # (aka 'void (*)(VkCommandBuffer_T *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] CXXFLAGS:pn-opengl-es-cts:append:toolchain-clang = " -Wno-error=unsafe-buffer-usage -Wno-error=cast-function-type-strict" CXXFLAGS:pn-vulkan-cts:append:toolchain-clang = " -Wno-error=unsafe-buffer-usage -Wno-error=cast-function-type-strict" -# see https://github.com/jtv/libpqxx/issues/738 -CXXFLAGS:pn-vulkan-samples:append:toolchain-clang = " -Wno-error=deprecated-declarations" +# Wno-error=overriding-option needed with clang-20 +CXXFLAGS:pn-vulkan-samples:append:toolchain-clang = " -Wno-error=overriding-option" # Workaround for https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 CFLAGS:pn-gtk4:append:toolchain-clang = " -Wno-error=int-conversion"