From 613335f5dbb42725cbce03706df18391838ad93a Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 22 Mar 2024 14:15:56 +1100 Subject: glib: disable error for int-conversion introduced by default with clang 15 macos/ios now ship clang 15 which flipped some default errors for some warnings around int->pointer conversion that currently fail in glib to the version we ship here. Unflip those errors. https://reviews.llvm.org/D129881 Part-of: --- recipes/build-tools/glib-tools.recipe | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/build-tools/glib-tools.recipe b/recipes/build-tools/glib-tools.recipe index 9f65ae83..620fe9ec 100644 --- a/recipes/build-tools/glib-tools.recipe +++ b/recipes/build-tools/glib-tools.recipe @@ -26,3 +26,6 @@ class Recipe(recipe.Recipe): # Want secure versions of stdlib functions. Glib already defines # _WIN32_WINNT, so undefine it on the cmdline to avoid warnings self.append_env('CFLAGS', '-DMINGW_HAS_SECURE_API=1', '-U_WIN32_WINNT') + + if self.config.platform == Platform.DARWIN: + self.append_env('CFLAGS', '-Wno-error=int-conversion') -- cgit v1.2.3