summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-08-19 09:18:53 -0700
committerKhem Raj <raj.khem@gmail.com>2023-08-19 22:06:48 -0700
commit2e4dcca830ad68c6573837390cfd9aa28acb2226 (patch)
tree13948ac03b944acd7c3233f5c1054c717adc1cf1
parent95ebfdab139dd5355d9a3e4ea9a6be8d4da4feba (diff)
downloadmeta-clang-2e4dcca830ad68c6573837390cfd9aa28acb2226.tar.gz
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 <raj.khem@gmail.com>
-rw-r--r--conf/nonclangable.conf3
1 files changed, 3 insertions, 0 deletions
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_
299CXXFLAGS:pn-opengl-es-cts:append:toolchain-clang = " -Wno-error=unsafe-buffer-usage -Wno-error=cast-function-type-strict" 299CXXFLAGS:pn-opengl-es-cts:append:toolchain-clang = " -Wno-error=unsafe-buffer-usage -Wno-error=cast-function-type-strict"
300CXXFLAGS:pn-vulkan-cts:append:toolchain-clang = " -Wno-error=unsafe-buffer-usage -Wno-error=cast-function-type-strict" 300CXXFLAGS:pn-vulkan-cts:append:toolchain-clang = " -Wno-error=unsafe-buffer-usage -Wno-error=cast-function-type-strict"
301 301
302# Workaround for https://gitlab.gnome.org/GNOME/gtk/-/issues/6033
303CFLAGS:pn-gtk4:append:toolchain-clang = " -Wno-error=int-conversion"
304
302# usr/include/glib-2.0/glib/glib-autocleanups.h:49:1: error: cast from 'void (*)(void)' to 'GDestroyNotify' 305# usr/include/glib-2.0/glib/glib-autocleanups.h:49:1: error: cast from 'void (*)(void)' to 'GDestroyNotify'
303# (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 306# (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
304CFLAGS:pn-pidgin-sipe:append:toolchain-clang = " -Wno-error=cast-function-type-strict" 307CFLAGS:pn-pidgin-sipe:append:toolchain-clang = " -Wno-error=cast-function-type-strict"