From 2e4dcca830ad68c6573837390cfd9aa28acb2226 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 19 Aug 2023 09:18:53 -0700 Subject: gtk4: Disable integer conversion warning as error clang 15+ has started to treated int-conversion as error and pipeline cache code added snippets[1] in gtk4 which causes this error [1] https://gitlab.gnome.org/GNOME/gtk/-/commit/684a015c9852ede9d57103852217b428546fe472 Signed-off-by: Khem Raj --- conf/nonclangable.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 84575d9..d34b6b6 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -299,6 +299,9 @@ 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" +# Workaround for https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 +CFLAGS:pn-gtk4:append:toolchain-clang = " -Wno-error=int-conversion" + # usr/include/glib-2.0/glib/glib-autocleanups.h:49:1: error: cast from 'void (*)(void)' to 'GDestroyNotify' # (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] CFLAGS:pn-pidgin-sipe:append:toolchain-clang = " -Wno-error=cast-function-type-strict" -- cgit v1.2.3-54-g00ecf