[MacPorts] #63350: php80-xdebug: error: use of undeclared identifier 'CLOCK_UPTIME_RAW'
MacPorts
noreply at macports.org
Thu Aug 12 14:23:27 UTC 2021
#63350: php80-xdebug: error: use of undeclared identifier 'CLOCK_UPTIME_RAW'
-------------------------+------------------------
Reporter: mav2287 | Owner: ryandesign
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: php-xdebug |
-------------------------+------------------------
Comment (by kencu):
Chris and I had a chat about what to do about functions like
{{{clock_gettime_nsec_np}}} that the OS version cannot support for
technical/hardware reasons.
The purist response is to leave them unsupported. The practical response
is to give a best-we-can microsecond version emulation.
I lean to the practical. I doubt the nanosecond version is usually needed
(it's just used because it exists). But there might be cases where I'm
wrong. (Even if so, anyone programming a SpaceX launch on macOS 10.8 is an
idiot.)
But that's the main reason {{{clock_gettime_nsec_np}}} and a couple of
similar functions are not yet in legacysupport.
--
Ticket URL: <https://trac.macports.org/ticket/63350#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list