GHC build break in Win32Spawn.hs
Simon Marlow
simonmar at microsoft.com
Mon Jan 10 10:53:38 EST 2005
On 08 January 2005 19:28, Satnam Singh wrote:
> Has anyone lese noticed this build break when building GHC for
> Windows?
>
> Win32Spawn.hs:38:14:
> Couldn't match `IO Handle' against `t -> t1'
> Expected type: IO Handle
> Inferred type: t -> t1
> Probable cause: `openFd' is applied to too many arguments in the
> call (openFd (fromIntegral wIn)
> (Just RegularFile)
> False
> ("<fd " ++ ((show wIn) ++ ">"))
> WriteMode
> False
> False)
> In a 'do' expression:
> hIn <- openFd (fromIntegral wIn)
> (Just RegularFile)
> False
> ("<fd " ++ ((show wIn) ++ ">"))
> WriteMode
> False
> False
> make[2]: *** [Win32Spawn.o] Error 1
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/c/src/ghc/fptools/hslibs'
> make: *** [build] Error 1
Should be fixed now, thanks for the report.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list