harfbuzz: error on iOS build
Hi guys!
We build gstreamer for iOS on macOS by instruction from README. We use master branch with the last commit. The compiler process prints error (harfbuzz compilation):
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:49:1: error: cast from 'void (*)(GAsyncQueue *)' (aka 'void (*)(_GAsyncQueue *)') to 'void (*)()' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
49 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GAsyncQueue, g_async_queue_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1360:47: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1360 | { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:49:1: error: cast from 'void (*)()' to 'GDestroyNotify' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
49 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GAsyncQueue, g_async_queue_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1360:30: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1360 | { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:49:1: error: cast from 'void (*)(GAsyncQueue *)' (aka 'void (*)(_GAsyncQueue *)') to 'void (*)()' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
49 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GAsyncQueue, g_async_queue_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1362:48: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1362 | { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:49:1: error: cast from 'void (*)()' to 'GDestroyNotify' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
49 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GAsyncQueue, g_async_queue_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1362:31: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1362 | { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:49:1: error: cast from 'void (*)(GAsyncQueue *)' (aka 'void (*)(_GAsyncQueue *)') to 'void (*)()' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
49 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GAsyncQueue, g_async_queue_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1364:57: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1364 | { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:49:1: error: cast from 'void (*)()' to 'GDestroyNotify' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
49 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GAsyncQueue, g_async_queue_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1364:40: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1364 | { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:50:1: error: cast from 'void (*)(GBookmarkFile *)' (aka 'void (*)(_GBookmarkFile *)') to 'void (*)()' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
50 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBookmarkFile, g_bookmark_file_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1360:47: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1360 | { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:50:1: error: cast from 'void (*)()' to 'GDestroyNotify' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
50 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBookmarkFile, g_bookmark_file_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1360:30: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1360 | { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:50:1: error: cast from 'void (*)(GBookmarkFile *)' (aka 'void (*)(_GBookmarkFile *)') to 'void (*)()' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
50 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBookmarkFile, g_bookmark_file_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1362:48: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1362 | { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:50:1: error: cast from 'void (*)()' to 'GDestroyNotify' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
50 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBookmarkFile, g_bookmark_file_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1362:31: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1362 | { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:50:1: error: cast from 'void (*)(GBookmarkFile *)' (aka 'void (*)(_GBookmarkFile *)') to 'void (*)()' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
50 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBookmarkFile, g_bookmark_file_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1364:57: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1364 | { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:50:1: error: cast from 'void (*)()' to 'GDestroyNotify' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
50 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBookmarkFile, g_bookmark_file_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1364:40: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1364 | { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:51:1: error: cast from 'void (*)(GBytes *)' (aka 'void (*)(_GBytes *)') to 'void (*)()' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
51 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBytes, g_bytes_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1360:47: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1360 | { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:51:1: error: cast from 'void (*)()' to 'GDestroyNotify' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
51 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBytes, g_bytes_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1360:30: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1360 | { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:51:1: error: cast from 'void (*)(GBytes *)' (aka 'void (*)(_GBytes *)') to 'void (*)()' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
51 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBytes, g_bytes_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1362:48: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1362 | { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:51:1: error: cast from 'void (*)()' to 'GDestroyNotify' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
51 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBytes, g_bytes_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1362:31: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1362 | { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:51:1: error: cast from 'void (*)(GBytes *)' (aka 'void (*)(_GBytes *)') to 'void (*)()' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
51 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBytes, g_bytes_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1364:57: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1364 | { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:51:1: error: cast from 'void (*)()' to 'GDestroyNotify' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
51 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBytes, g_bytes_unref)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1364:40: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1364 | { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/hb-unicode.cc:135:
In file included from ../src/hb-glib.h:34:
In file included from /Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib.h:117:
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/glib-autocleanups.h:52:1: error: cast from 'void (*)(GChecksum *)' (aka 'void (*)(_GChecksum *)') to 'void (*)()' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
52 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GChecksum, g_checksum_free)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1372:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
1372 | _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/disk/cerbero.ios.master/build/dist/ios_arm64/lib/pkgconfig/../../include/glib-2.0/glib/gmacros.h:1360:47: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
1360 | { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } \
| ^~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.