Repository : ssh://[email protected]/ghc

On branch  : master
Link       : 
http://ghc.haskell.org/trac/ghc/changeset/7740e253d0e97f85a21b4dd7061463cb1d4aa384/ghc

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

commit 7740e253d0e97f85a21b4dd7061463cb1d4aa384
Author: Austin Seipp <[email protected]>
Date:   Mon Sep 9 21:03:57 2013 -0500

    Fix ./validate with GHC 7.6 as bootstrap compiler.
    
    7.6 deprecated the Control.Concurrent.QSem module (to be removed later,)
    but according to Patrick it was actually un-deprecated. As a result,
    validate fails if your bootstrap compiler is 7.6, since it throws a
    DEPRECATED warning.
    
    Signed-off-by: Austin Seipp <[email protected]>


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

7740e253d0e97f85a21b4dd7061463cb1d4aa384
 compiler/main/GhcMake.hs |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/compiler/main/GhcMake.hs b/compiler/main/GhcMake.hs
index e69efdf..6239e55 100644
--- a/compiler/main/GhcMake.hs
+++ b/compiler/main/GhcMake.hs
@@ -1,4 +1,8 @@
 {-# LANGUAGE ScopedTypeVariables #-}
+{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
+-- NB: we specifically ignore deprecations. GHC 7.6 marks the .QSem module as
+-- deprecated, although it became un-deprecated later. As a result, using 7.6
+-- as your bootstrap compiler throws annoying warnings.
 
 -- 
-----------------------------------------------------------------------------
 --


_______________________________________________
ghc-commits mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-commits

Reply via email to