Fix warnings
authorIan Lynagh <igloo@earth.li>
Sat, 23 May 2009 23:14:38 +0000 (23:14 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 23 May 2009 23:14:38 +0000 (23:14 +0000)
ghc/GhciTags.hs
ghc/InteractiveUI.hs
utils/runghc/runghc.hs

index b53a56f..d5d40ad 100644 (file)
@@ -6,6 +6,7 @@
 --
 -----------------------------------------------------------------------------
 
 --
 -----------------------------------------------------------------------------
 
+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
 module GhciTags (createCTagsFileCmd, createETagsFileCmd) where
 
 import GHC
 module GhciTags (createCTagsFileCmd, createETagsFileCmd) where
 
 import GHC
index 323dc25..1fcae52 100644 (file)
@@ -2,6 +2,7 @@
 -- -fno-cse is needed for GLOBAL_VAR's to behave properly
 
 {-# OPTIONS -#include "Linker.h" #-}
 -- -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
 -----------------------------------------------------------------------------
 --
 -- GHC Interactive User Interface
index aadafd9..8de281f 100644 (file)
@@ -26,7 +26,6 @@ import Control.Exception
 import Data.Char
 import Data.List
 import Data.Monoid
 import Data.Char
 import Data.List
 import Data.Monoid
-import Data.Version
 import System.Cmd
 import System.Directory
 import System.Environment
 import System.Cmd
 import System.Directory
 import System.Environment