Opened 3 weeks ago
Last modified 3 weeks ago
#73926 new defect
libgee @0.20.8: abstractmultimap.c: error: incompatible function pointer types
| Reported by: | barracuda156 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.12.4 |
| Keywords: | sonoma sequoia tahoe | Cc: | |
| Port: | libgee |
Description
mv -f .deps/libgee_0_8_la-assemblyinfo.Tpo .deps/libgee_0_8_la-assemblyinfo.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I../utils -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -w -Os -pipe -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -MT libgee_0_8_la-abstractmultiset.lo -MD -MP -MF .deps/libgee_0_8_la-abstractmultiset.Tpo -c -o libgee_0_8_la-abstractmultiset.lo `test -f 'abstractmultiset.c' || echo './'`abstractmultiset.c
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I../utils -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -w -Os -pipe -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -MT libgee_0_8_la-abstractmultiset.lo -MD -MP -MF .deps/libgee_0_8_la-abstractmultiset.Tpo -c abstractmultiset.c -fno-common -DPIC -o .libs/libgee_0_8_la-abstractmultiset.o
abstractmultimap.c:2504:19: error: incompatible function pointer types assigning to 'gboolean (*)(GeeIterator *)' (aka 'int (*)(struct _GeeIterator *)') from 'gboolean (*)(GeeAbstractMultiMapMappingIterator *)' (aka 'int (*)(struct _GeeAbstractMultiMapMappingIterator *)') [-Wincompatible-function-pointer-types]
iface->get_valid = (gboolean (*) (GeeAbstractMultiMapMappingIterator*)) gee_abstract_multi_map_mapping_iterator_get_valid;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
abstractmultimap.c:2505:23: error: incompatible function pointer types assigning to 'gboolean (*)(GeeIterator *)' (aka 'int (*)(struct _GeeIterator *)') from 'gboolean (*)(GeeAbstractMultiMapMappingIterator *)' (aka 'int (*)(struct _GeeAbstractMultiMapMappingIterator *)') [-Wincompatible-function-pointer-types]
iface->get_read_only = (gboolean (*) (GeeAbstractMultiMapMappingIterator*)) gee_abstract_multi_map_mapping_iterator_get_read_only;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
abstractmultimap.c:2811:19: error: incompatible function pointer types assigning to 'gboolean (*)(GeeIterator *)' (aka 'int (*)(struct _GeeIterator *)') from 'gboolean (*)(GeeAbstractMultiMapMappingIterator *)' (aka 'int (*)(struct _GeeAbstractMultiMapMappingIterator *)') [-Wincompatible-function-pointer-types]
iface->get_valid = (gboolean (*) (GeeAbstractMultiMapMappingIterator*)) gee_abstract_multi_map_mapping_iterator_get_valid;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
abstractmultimap.c:2812:23: error: incompatible function pointer types assigning to 'gboolean (*)(GeeIterator *)' (aka 'int (*)(struct _GeeIterator *)') from 'gboolean (*)(GeeAbstractMultiMapMappingIterator *)' (aka 'int (*)(struct _GeeAbstractMultiMapMappingIterator *)') [-Wincompatible-function-pointer-types]
iface->get_read_only = (gboolean (*) (GeeAbstractMultiMapMappingIterator*)) gee_abstract_multi_map_mapping_iterator_get_read_only;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
abstractmultimap.c:3081:19: error: incompatible function pointer types assigning to 'gboolean (*)(GeeMapIterator *)' (aka 'int (*)(struct _GeeMapIterator *)') from 'gboolean (*)(GeeAbstractMultiMapMappingIterator *)' (aka 'int (*)(struct _GeeAbstractMultiMapMappingIterator *)') [-Wincompatible-function-pointer-types]
iface->get_valid = (gboolean (*) (GeeAbstractMultiMapMappingIterator*)) gee_abstract_multi_map_mapping_iterator_get_valid;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
abstractmultimap.c:3082:23: error: incompatible function pointer types assigning to 'gboolean (*)(GeeMapIterator *)' (aka 'int (*)(struct _GeeMapIterator *)') from 'gboolean (*)(GeeAbstractMultiMapMappingIterator *)' (aka 'int (*)(struct _GeeAbstractMultiMapMappingIterator *)') [-Wincompatible-function-pointer-types]
iface->get_read_only = (gboolean (*) (GeeAbstractMultiMapMappingIterator*)) gee_abstract_multi_map_mapping_iterator_get_read_only;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 errors generated.
make[2]: *** [libgee_0_8_la-abstractmultimap.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libgee_0_8_la-abstractbidirsortedmap.Tpo .deps/libgee_0_8_la-abstractbidirsortedmap.Plo
mv -f .deps/libgee_0_8_la-abstractbidirsortedset.Tpo .deps/libgee_0_8_la-abstractbidirsortedset.Plo
mv -f .deps/libgee_0_8_la-abstractlist.Tpo .deps/libgee_0_8_la-abstractlist.Plo
mv -f .deps/libgee_0_8_la-abstractcollection.Tpo .deps/libgee_0_8_la-abstractcollection.Plo
mv -f .deps/libgee_0_8_la-abstractbidirlist.Tpo .deps/libgee_0_8_la-abstractbidirlist.Plo
mv -f .deps/libgee_0_8_la-abstractmap.Tpo .deps/libgee_0_8_la-abstractmap.Plo
mv -f .deps/libgee_0_8_la-abstractmultiset.Tpo .deps/libgee_0_8_la-abstractmultiset.Plo
make[2]: Leaving directory `/opt/local/var/macports/build/libgee-fa8cb2b3/work/libgee-0.20.8/gee'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/libgee-fa8cb2b3/work/libgee-0.20.8'
make: *** [all] Error 2
Change History (1)
comment:1 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)
| Keywords: | sequoia tahoe added |
|---|---|
| Summary: | libgee fails to build on Sonoma: abstractmultimap.c: error: incompatible function pointer types → libgee @0.20.8: abstractmultimap.c: error: incompatible function pointer types |
Note: See
TracTickets for help on using
tickets.

The upstream bug report contains a fix.