[GHC] #7759: iOS patch no 14: libraries/base changes
GHC
cvs-ghc at haskell.org
Sun Apr 21 22:02:53 CEST 2013
#7759: iOS patch no 14: libraries/base changes
----------------------------------+-----------------------------------------
Reporter: StephenBlackheath | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 7.8.1
Component: libraries/base | Version: 7.6.2
Resolution: fixed | Keywords:
Os: Other | Architecture: arm
Failure: Building GHC failed | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: 7724 | Related:
----------------------------------+-----------------------------------------
Changes (by igloo):
* status: patch => closed
* resolution: => fixed
Comment:
Fixed, thanks:
{{{
commit 93a4bdadd4d7b1428bcbbb15d9f777a5afc5c915
Author: Ian Lynagh <ian at well-typed.com>
Date: Sun Apr 21 18:07:58 2013 +0100
Build fix for iOS; fixes #7759
Patch from Stephen Blackheath.
The issue here is that the #defines EVFILT_READ and EVFILT_WRITE have
the values -1 and -2. The original code translates that to
filterRead = Filter -1 which is wrong Haskell and fails to compile.
The modified code produces the correct code filterRead = Filter (-1)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7759#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list