[Bug 271968] sysutils/tracker3: fix build with clang 16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Jun 2023 18:54:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271968
Bug ID: 271968
Summary: sysutils/tracker3: 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: gnome@FreeBSD.org
Reporter: dim@FreeBSD.org
Assignee: gnome@FreeBSD.org
Flags: maintainer-feedback?(gnome@FreeBSD.org)
Clang 16 has a new error about incompatible function types, which shows
up when building sysutils/tracker3:
../src/libtracker-sparql/bus/tracker-bus.vala:20:56: error: incompatible
function pointer types assigning to 'void (*)(TrackerSparqlConnection *,
GCancellable *, GAsyncReadyCallback, gpointer)' (aka 'void (*)(struct
_TrackerSparqlConnection *, struct _GCancellable *, void (*)(struct _GObject *,
struct _GAsyncResult *, void *), void *)') from 'void
(*)(TrackerSparqlConnection *, GAsyncReadyCallback, gpointer)' (aka 'void
(*)(struct _TrackerSparqlConnection *, void (*)(struct _GObject *, struct
_GAsyncResult *, void *), void *)') [-Wincompatible-function-pointer-types]
((TrackerSparqlConnectionClass *) klass)->close_async = (void (*)
(TrackerSparqlConnection*, GAsyncReadyCallback, gpointer))
tracker_bus_connection_real_close_async;
^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.