summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc/GhciTags.hs1
-rw-r--r--ghc/InteractiveUI.hs1
-rw-r--r--utils/runghc/runghc.hs1
3 files changed, 2 insertions, 1 deletions
diff --git a/ghc/GhciTags.hs b/ghc/GhciTags.hs
index b53a56f967..d5d40ad26c 100644
--- a/ghc/GhciTags.hs
+++ b/ghc/GhciTags.hs
@@ -6,6 +6,7 @@
--
-----------------------------------------------------------------------------
+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
module GhciTags (createCTagsFileCmd, createETagsFileCmd) where
import GHC
diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index 323dc259c7..1fcae52db6 100644
--- a/ghc/InteractiveUI.hs
+++ b/ghc/InteractiveUI.hs
@@ -2,6 +2,7 @@
-- -fno-cse is needed for GLOBAL_VAR's to behave properly
{-# OPTIONS -#include "Linker.h" #-}
+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
-----------------------------------------------------------------------------
--
-- GHC Interactive User Interface
diff --git a/utils/runghc/runghc.hs b/utils/runghc/runghc.hs
index aadafd9a71..8de281f45a 100644
--- a/utils/runghc/runghc.hs
+++ b/utils/runghc/runghc.hs
@@ -26,7 +26,6 @@ import Control.Exception
import Data.Char
import Data.List
import Data.Monoid
-import Data.Version
import System.Cmd
import System.Directory
import System.Environment