From 685abe9da706985c3f9c3d836ce4969c2cf5ef03 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 29 Aug 2024 13:58:03 -0700 Subject: 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(-) (limited to 'conf') diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 70e72b5..70b5be9 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" -- cgit v1.2.3-54-g00ecf