From: Ian Lynagh Date: Wed, 20 Aug 2008 21:19:01 +0000 (+0000) Subject: Ignore some orphan warnings X-Git-Tag: 6_10_branch_has_been_forked~36 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=5c99290b8ab03f819f7b630f374187a254b0cea1;p=ghc-base.git Ignore some orphan warnings --- diff --git a/Data/Tuple.hs b/Data/Tuple.hs index 81ae83d..335835c 100644 --- a/Data/Tuple.hs +++ b/Data/Tuple.hs @@ -1,5 +1,6 @@ {-# OPTIONS_GHC -XNoImplicitPrelude #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} +{-# OPTIONS_GHC -fno-warn-orphans #-} -- XXX -fno-warn-unused-imports needed for the GHC.Tuple import below. Sigh. ----------------------------------------------------------------------------- -- | diff --git a/GHC/Base.lhs b/GHC/Base.lhs index 0e5c4d2..9951b5a 100644 --- a/GHC/Base.lhs +++ b/GHC/Base.lhs @@ -63,6 +63,7 @@ Other Prelude modules are much easier with fewer complex dependencies. \begin{code} {-# OPTIONS_GHC -XNoImplicitPrelude #-} +{-# OPTIONS_GHC -fno-warn-orphans #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Float.lhs b/GHC/Float.lhs index 1ca9638..714c621 100644 --- a/GHC/Float.lhs +++ b/GHC/Float.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -XNoImplicitPrelude #-} +{-# OPTIONS_GHC -fno-warn-orphans #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/Num.lhs b/GHC/Num.lhs index 2981e60..da4ab04 100644 --- a/GHC/Num.lhs +++ b/GHC/Num.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -XNoImplicitPrelude #-} +{-# OPTIONS_GHC -fno-warn-orphans #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- |