[Bug 271485] devel/libgee: fix build with clang 16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 May 2023 11:51:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271485 Bug ID: 271485 Summary: devel/libgee: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: kwm@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: kwm@FreeBSD.org Flags: maintainer-feedback?(kwm@FreeBSD.org) Clang 16 has a new error about incompatible function types, which shows up when building devel/libgee: hashmap.c:4089:23: error: incompatible function pointer types assigning to 'gboolean (*)(GeeMapIterator *)' (aka 'int (*)(struct _GeeMapIterator *)') from 'gboolean (GeeHashMapNodeIterator *)' (aka 'int (struct _GeeHashMapNodeIterator *)') [-Wincompatible-function-pointer-types] iface->get_read_only = gee_hash_map_map_iterator_real_get_read_only; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Since the error occurs in vala-generated code, it does not make sense to patch the .c file. Suppress the warning instead. -- You are receiving this mail because: You are the assignee for the bug.