process library broken on Windows

Simon Peyton Jones simonpj at
Mon Nov 2 13:15:55 UTC 2015

I'm getting this on HEAD in te '

libraries\process\System\Process\Internals.hs:106:16: warning:

    Defined but not used: data constructor 'CGid'
Indeed it looks as if CGId(..) should be exported, else createProcess is unusuable.  This looks like the right change.  Would someone like to check and make the change

diff --git a/System/Process/Internals.hs b/System/Process/Internals.hs

index 5575ac4..3e23ad5 100644

--- a/System/Process/Internals.hs

+++ b/System/Process/Internals.hs

@@ -37,6 +37,8 @@ module System.Process.Internals (

#if !defined(mingw32_HOST_OS) && !defined(__MINGW32__)

     pPrPr_disableITimers, c_execvpe,

     ignoreSignal, defaultSignal,


+    CGid(..), GroupID, UserID,


     withFilePathException, withCEnvironment,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list