[MacPorts] #69615: viking @1.7: error: initializing 'time_t' (aka 'long') with an expression of incompatible type 'timespec_t' (aka 'struct timespec') (was: viking fails to build on Ventura (Mac Mini M2))
MacPorts
noreply at macports.org
Fri Mar 29 01:19:32 UTC 2024
#69615: viking @1.7: error: initializing 'time_t' (aka 'long') with an expression
of incompatible type 'timespec_t' (aka 'struct timespec')
------------------------+---------------------
Reporter: nevisnoel | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: duplicate | Keywords: ventura
Port: viking |
------------------------+---------------------
Changes (by ryandesign):
* status: new => closed
* resolution: => duplicate
Comment:
Ok, that log says the problem is:
{{{
vikgpslayer.c:1717:12: error: initializing 'time_t' (aka 'long') with an
expression of incompatible type 'timespec_t' (aka 'struct timespec')
time_t cur_timestamp = vgl->realtime_fix.fix.time;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
vikgpslayer.c:1718:12: error: initializing 'time_t' (aka 'long') with an
expression of incompatible type 'timespec_t' (aka 'struct timespec')
time_t last_timestamp = vgl->last_fix.fix.time;
^ ~~~~~~~~~~~~~~~~~~~~~~
vikgpslayer.c:1748:23: error: assigning to 'time_t' (aka 'long') from
incompatible type 'timespec_t' (aka 'struct timespec')
tp->timestamp = vgl->realtime_fix.fix.time;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
}}}
Which was already filed as #60085.
--
Ticket URL: <https://trac.macports.org/ticket/69615#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list