Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2023 11:51:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271485] devel/libgee: fix build with clang 16
Message-ID:  <bug-271485-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271485

            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 _GeeHashMapNodeIter=
ator
*)') [-Wincompatible-function-pointer-types]
          iface->get_read_only =3D gee_hash_map_map_iterator_real_get_read_=
only;
                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~

Since the error occurs in vala-generated code, it does not make sense to pa=
tch
the .c file. Suppress the warning instead.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271485-7788>