build of libharfbuzz0-shlibs-2.6.8-2 failed

Eduard Karel de Jong <[email protected]> Sun, 6 Oct 2024 19:48:13 +0200
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
L:.S.

The compiler chokes on some type casts.

hb-ft.cc:758:73: error: cast from 'void (*)(FT_Face)' (aka 'void 
(*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)') 
converts to incompatible function type [-Werror,-Wcast-function-type-strict]
   758 |   if (unlikely (!ft_face->generic.data || 
ft_face->generic.finalizer != (FT_Generic_Finalizer) hb_ft_face_finalize))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./hb.hh:225:46: note: expanded from macro 'unlikely'
   225 | #define unlikely(expr) (__builtin_expect (!!(expr), 0))
       |                                              ^~~~
hb-ft.cc:764:34: error: cast from 'void (*)(FT_Face)' (aka 'void 
(*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)') 
converts to incompatible function type [-Werror,-Wcast-function-type-strict]
   764 |     ft_face->generic.finalizer = (FT_Generic_Finalizer) 
hb_ft_face_finalize;
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hb-ft.cc:1033:32: error: cast from 'void (*)(FT_Face)' (aka 'void 
(*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)') 
converts to incompatible function type [-Werror,-Wcast-function-type-strict]
  1033 |   ft_face->generic.finalizer = (FT_Generic_Finalizer) 
_release_blob;
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

System info
Package manager version: 0.45.99.git
Distribution version: selfupdate-rsync Sun Oct  6 09:30:27 2024, 13.0, 
x86_64
Trees: local/main stable/main
No recognized Xcode.app installed
Xcode command-line tools: 16.0.0.0.1.1724870825
Max. Fink build jobs:  12

Cheers
Eduard de Jong

_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users