From 304da50e7838a41c117e86fc641947a41bec4103 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Sep 2024 21:59:18 -0700 Subject: [PATCH] vulkan-samples: Re-introduce -Wno-error=deprecated-declarations Its still needed with clang-18 with libc++ Signed-off-by: Khem Raj --- conf/nonclangable.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 70b5be99..65b6351b 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -334,7 +334,8 @@ CXXFLAGS:pn-libeigen:append:toolchain-clang:powerpc = " -DEIGEN_ALTIVEC_DISABLE_ 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" # Wno-error=overriding-option needed with clang-20 -CXXFLAGS:pn-vulkan-samples:append:toolchain-clang = " -Wno-error=overriding-option" +# see https://github.com/jtv/libpqxx/issues/738 for deprecated-declarations ( not needed with clang19+ ) +CXXFLAGS:pn-vulkan-samples:append:toolchain-clang = " -Wno-error=overriding-option -Wno-error=deprecated-declarations" # Workaround for https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 CFLAGS:pn-gtk4:append:toolchain-clang = " -Wno-error=int-conversion"