[Bug 268787] sysutils/tracker: fix build with clang 15
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 268787] sysutils/tracker: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268787] sysutils/tracker: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268787] sysutils/tracker: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268787] sysutils/tracker: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268787] sysutils/tracker: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268787] sysutils/tracker: fix build with clang 15"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Jan 2023 16:07:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268787
Bug ID: 268787
Summary: sysutils/tracker: fix build with clang 15
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: gnome@FreeBSD.org
Reporter: dim@FreeBSD.org
Assignee: gnome@FreeBSD.org
Flags: maintainer-feedback?(gnome@FreeBSD.org)
During an exp-run for llvm 15 (see bug 265425), it turned out that
sysutils/tracker failed to build with clang 15:
src/tracker-store/tracker-store.p/tracker-resources.c:1685:14: error:
incompatible pointer to integer conversion assigning to 'gint' (aka 'int') from
'gconstpointer' (aka 'const void *') [-Wint-conversion]
subject_id = _tmp1_;
^ ~~~~~~
This is because in this vala-generated C code, the glib hash table iterator
code always returns pointers, even for integer keys. However, vala is
inflexible in the C expressions it generates to store the outcome. Suppress
-Wint-conversion to get rid of the compile error.
--
You are receiving this mail because:
You are the assignee for the bug.