summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-23 23:14:38 +0000
committerIan Lynagh <igloo@earth.li>2009-05-23 23:14:38 +0000
commitd150f4ec2ded790bb93ce5c6e68e970916f75cbb (patch)
treea46152e1a20717832af91bea227333ec63966ff5 /ghc
parent9f135e47a4311c778b33d5a33613009f1119ba78 (diff)
downloadhaskell-d150f4ec2ded790bb93ce5c6e68e970916f75cbb.tar.gz
Fix warnings
Diffstat (limited to 'ghc')
-rw-r--r--ghc/GhciTags.hs1
-rw-r--r--ghc/InteractiveUI.hs1
2 files changed, 2 insertions, 0 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