[MacPorts] #67888: blink @1.0.0: error: implicit declaration of function 'clock_gettime' is invalid in C99
MacPorts
noreply at macports.org
Wed Aug 9 07:47:28 UTC 2023
#67888: blink @1.0.0: error: implicit declaration of function 'clock_gettime' is
invalid in C99
-------------------------+-------------------------
Reporter: ryandesign | Owner: herbygillot
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: elcapitan
Port: blink |
-------------------------+-------------------------
Changes (by ryandesign):
* status: closed => reopened
* resolution: fixed =>
Comment:
Unfortunately the build still fails, now with:
{{{
blink/xlat.c:762:48: error: use of undeclared identifier
'CLOCK_PROCESS_CPUTIME_ID'
CASE(CLOCK_PROCESS_CPUTIME_ID_LINUX, res = CLOCK_PROCESS_CPUTIME_ID);
^
blink/xlat.c:763:47: error: use of undeclared identifier
'CLOCK_THREAD_CPUTIME_ID'
CASE(CLOCK_THREAD_CPUTIME_ID_LINUX, res = CLOCK_THREAD_CPUTIME_ID);
^
2 errors generated.
}}}
See https://github.com/macports/macports-legacy-support/pull/58 which
attempted to add support for those.
--
Ticket URL: <https://trac.macports.org/ticket/67888#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list