GHC build break in Win32Spawn.hs

Satnam Singh satnams at microsoft.com
Sat Jan 8 14:28:16 EST 2005


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



Cheers,

Satnam

________________________________________
Satnam Singh
Microsoft
One Microsoft Way
Redmond
Washington 98052-6399
USA
Email: satnams at microsoft.com
Telephone: +1 425 705 8208
Cell: +1 408 718 2588
Pager:  4087182588 at mobile.att.com 
eFax: +1 815 550 4055




More information about the Glasgow-haskell-bugs mailing list