
#8943: Add System.Process.createPipe --------------------------------------+------------------------------------ Reporter: tibbe | Owner: Type: feature request | Status: patch Priority: normal | Milestone: 7.10.1 Component: libraries/process | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: --------------------------------------+------------------------------------ Comment (by refold): I get the following error on Windows: {{{ [2 of 3] Compiling System.Process ( System\Process.hs, dist\build\System\Proce ss.o ) C:\program files (x86)\haskell platform\2013.2.0.0\mingw\bin\..\lib\gcc\mingw32\ 4.5.2\..\..\..\..\include\io.h:64:1: parse error on input `{' }}} After renaming `System\Process.hs` to `.hsc` I get: {{{ [2 of 3] Compiling System.Process ( dist\build\System\Process.hs, dist\build\S ystem\Process.o ) SystemProcess.hsc:921:18: Ambiguous occurrence `fdToHandle' It could refer to either `System.Process.fdToHandle', defined at SystemProcess.hsc:926:1 or `System.Process.Internals.fdToHandle', imported from `System.Process.Internals' at SystemP rocess.hsc:69:1-31 (and originally defined in `GHC.IO.Handle.FD') SystemProcess.hsc:922:19: Ambiguous occurrence `fdToHandle' It could refer to either `System.Process.fdToHandle', defined at SystemProcess.hsc:926:1 or `System.Process.Internals.fdToHandle', imported from `System.Process.Internals' at SystemP rocess.hsc:69:1-31 (and originally defined in `GHC.IO.Handle.FD') }}} After removing the `fdToHandle` function and fixing the call sites everything compiles fine, modulo warnings. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8943#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler