Opened 4 years ago
Closed 4 years ago
#11733 closed bug (fixed)
Undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' on OS X
Reported by: | erikd | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Compiler | Version: | 8.1 |
Keywords: | Cc: | bgamari | |
Operating System: | MacOS X | Architecture: | Unknown/Multiple |
Type of failure: | Building GHC failed | Test Case: | |
Blocked By: | Blocking: | ||
Related Tickets: | Differential Rev(s): | ||
Wiki Page: |
Description
It seems cb3456d82eaa8cea6b3 breaks OSX:
ClockGetTime.hsc:24:16: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' ..../inplace/lib/template-hsc.h:36:41: note: expanded from macro 'hsc_const' hsc_printf ("%lld", (long long)(x));
Probably also a problem on *BSD.
Change History (3)
comment:1 Changed 4 years ago by
comment:3 Changed 4 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This has been fixed and is currently not applicable to the ghc-8.0 branch as the problem it fixes is not yet on the ghc-8.0 branch.
Note: See
TracTickets for help on using
tickets.
This may help: http://stackoverflow.com/questions/5167269/clock-gettime-alternative-in-mac-os-x