From 5c99290b8ab03f819f7b630f374187a254b0cea1 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 20 Aug 2008 21:19:01 +0000 Subject: [PATCH] Ignore some orphan warnings --- Data/Tuple.hs | 1 + GHC/Base.lhs | 1 + GHC/Float.lhs | 1 + GHC/Num.lhs | 1 + 4 files changed, 4 insertions(+) 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 #-} ----------------------------------------------------------------------------- -- | -- 1.7.10.4