diff options
author | Ian Lynagh <igloo@earth.li> | 2009-05-23 23:14:38 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-05-23 23:14:38 +0000 |
commit | d150f4ec2ded790bb93ce5c6e68e970916f75cbb (patch) | |
tree | a46152e1a20717832af91bea227333ec63966ff5 | |
parent | 9f135e47a4311c778b33d5a33613009f1119ba78 (diff) | |
download | haskell-d150f4ec2ded790bb93ce5c6e68e970916f75cbb.tar.gz |
Fix warnings
-rw-r--r-- | ghc/GhciTags.hs | 1 | ||||
-rw-r--r-- | ghc/InteractiveUI.hs | 1 | ||||
-rw-r--r-- | utils/runghc/runghc.hs | 1 |
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 |