[C2hs] [c2hs] #53: Cabal Install failed with ghc 7.6.1

c2hs cvs-ghc at haskell.org
Tue Oct 9 14:33:34 CEST 2012


#53: Cabal Install failed with ghc 7.6.1
--------------------+-------------------------------------------------------
 Reporter:  guest   |        Type:  defect 
   Status:  new     |    Priority:  normal 
Milestone:          |   Component:  general
  Version:  0.16.2  |    Keywords:         
--------------------+-------------------------------------------------------
 Fail to install using ghc 7.6.1.
 Two changes are needed, but I don't know if backward compatible.

 Émeric

 diff -r c2hs-0.16.3_bu/src/C2HS/Config.hs c2hs-0.16.3/src/C2HS/Config.hs
 40c40
 < import Foreign.C (CInt)
 ---
 > import Foreign.C (CInt(..))
 diff -r c2hs-0.16.3_bu/src/Control/StateTrans.hs
 c2hs-0.16.3/src/Control/StateTrans.hs
 75a76
 > import System.IO.Error(catchIOError)
 299c300
 <             `catch` (\err -> let
 ---
 >             `catchIOError` (\err -> let

-- 
Ticket URL: <http://hackage.haskell.org/trac/c2hs/ticket/53>
c2hs <http://www.cse.unsw.edu.au/~chak/haskell/c2hs/>
C->Haskell, An Interface Generator for Haskell



More information about the C2hs mailing list