[commit: packages/process] master, wip/issue15: Fix warning of weaker safe haskell bound on System.Process under 7.10 (d3b8152)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:37:09 UTC 2015


Repository : ssh://git@git.haskell.org/process

On branches: master,wip/issue15
Link       : http://ghc.haskell.org/trac/ghc/changeset/d3b815269f3f107a43822fb5710e8b87ec20c6fb/process

>---------------------------------------------------------------

commit d3b815269f3f107a43822fb5710e8b87ec20c6fb
Author: David Terei <code at davidterei.com>
Date:   Mon Nov 24 12:44:46 2014 -0500

    Fix warning of weaker safe haskell bound on System.Process under 7.10


>---------------------------------------------------------------

d3b815269f3f107a43822fb5710e8b87ec20c6fb
 System/Process.hs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/System/Process.hs b/System/Process.hs
index cafe2cc..bff7f5d 100644
--- a/System/Process.hs
+++ b/System/Process.hs
@@ -1,6 +1,10 @@
 {-# LANGUAGE CPP #-}
 #ifdef __GLASGOW_HASKELL__
+#if __GLASGOW_HASKELL__ >= 709
+{-# LANGUAGE Safe #-}
+#else
 {-# LANGUAGE Trustworthy #-}
+#endif
 {-# LANGUAGE InterruptibleFFI #-}
 #endif
 



More information about the ghc-commits mailing list