From d150f4ec2ded790bb93ce5c6e68e970916f75cbb Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 23 May 2009 23:14:38 +0000 Subject: [PATCH] Fix warnings --- ghc/GhciTags.hs | 1 + ghc/InteractiveUI.hs | 1 + utils/runghc/runghc.hs | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc/GhciTags.hs b/ghc/GhciTags.hs index b53a56f..d5d40ad 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 323dc25..1fcae52 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 aadafd9..8de281f 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 -- 1.7.10.4