Opened 2 months ago
Closed 4 weeks ago
#73139 closed defect (fixed)
python315-devel @3.15.0a1: error: implicit declaration of function 'clock_gettime' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
| Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | jmroot (Joshua Root) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.11.5 |
| Keywords: | leopard snowleopard lion mountainlion mavericks yosemite elcapitan | Cc: | |
| Port: | python315-devel |
Description
Python/perf_jit_trampoline.c:288:9: error: implicit declaration of function 'clock_gettime' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) {
^
Python/perf_jit_trampoline.c:288:23: error: use of undeclared identifier 'CLOCK_MONOTONIC'
if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) {
^
2 errors generated.
make[2]: *** [Python/perf_jit_trampoline.o] Error 1
Using legacysupport might work around that.
Change History (1)
comment:1 Changed 4 weeks ago by jmroot (Joshua Root)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

In dd6ae1d00d5bafb8cdb1407b18c71daa18c54f4a/macports-ports (master):