[GHC] #11733: Undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' on OS X

GHC ghc-devs at haskell.org
Mon Mar 21 17:00:56 UTC 2016


#11733: Undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' on OS X
-------------------------------------+-------------------------------------
           Reporter:  erikd          |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.1
           Keywords:                 |  Operating System:  MacOS X
       Architecture:                 |   Type of failure:  Building GHC
  Unknown/Multiple                   |  failed
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 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.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11733>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list