Skip to content

CLK_TCK is not always a constant

System/CPUTime.hsc assumes that if CLK_TCK is defined, it is a constant, but on QNX it expands to a procedure call. The attached patch is one way to solve this problem.

http://www.haskell.org/pipermail/cvs-ghc/2012-December/079075.html http://www.haskell.org/pipermail/cvs-ghc/2012-December/079079.html

Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information