[commit: ghc] master: Fix ./validate with GHC 7.6 as bootstrap compiler. (7740e25)
git at git.haskell.org
git at git.haskell.org
Tue Sep 10 04:06:13 CEST 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/7740e253d0e97f85a21b4dd7061463cb1d4aa384/ghc
>---------------------------------------------------------------
commit 7740e253d0e97f85a21b4dd7061463cb1d4aa384
Author: Austin Seipp <austin at well-typed.com>
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 <austin at well-typed.com>
>---------------------------------------------------------------
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.
-- -----------------------------------------------------------------------------
--
More information about the ghc-commits
mailing list