[commit: packages/time] master: don't warn about orphan instances; they're real warnings now (i.e. errors with -Werror) (b010dd2)

git at git.haskell.org git at git.haskell.org
Sun Dec 20 07:52:02 UTC 2015


Repository : ssh://git@git.haskell.org/time

On branch  : master
Link       : http://git.haskell.org/packages/time.git/commitdiff/b010dd2b7c8e852a85d4f1c2136f17dad8e33ddf

>---------------------------------------------------------------

commit b010dd2b7c8e852a85d4f1c2136f17dad8e33ddf
Author: Ashley Yakeley <ashley at semantic.org>
Date:   Tue Aug 12 00:35:46 2008 -0700

    don't warn about orphan instances; they're real warnings now (i.e. errors with -Werror)
    
    darcs-hash:20080812073546-ac6dd-936d990eb8c2e6293124aec9f646a7988edca214


>---------------------------------------------------------------

b010dd2b7c8e852a85d4f1c2136f17dad8e33ddf
 Data/Time/Calendar/Gregorian.hs  | 2 +-
 Data/Time/Format/Parse.hs        | 2 +-
 Data/Time/LocalTime/LocalTime.hs | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Data/Time/Calendar/Gregorian.hs b/Data/Time/Calendar/Gregorian.hs
index 2d3546c..1887838 100644
--- a/Data/Time/Calendar/Gregorian.hs
+++ b/Data/Time/Calendar/Gregorian.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -Wall -Werror #-}
+{-# OPTIONS -Wall -Werror -fno-warn-orphans #-}
 
 -- #hide
 module Data.Time.Calendar.Gregorian
diff --git a/Data/Time/Format/Parse.hs b/Data/Time/Format/Parse.hs
index 9f97cfd..aa9e2c3 100644
--- a/Data/Time/Format/Parse.hs
+++ b/Data/Time/Format/Parse.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -Wall -Werror #-}
+{-# OPTIONS -Wall -Werror -fno-warn-orphans #-}
 
 -- #hide
 module Data.Time.Format.Parse 
diff --git a/Data/Time/LocalTime/LocalTime.hs b/Data/Time/LocalTime/LocalTime.hs
index c902bb6..6c8bbb6 100644
--- a/Data/Time/LocalTime/LocalTime.hs
+++ b/Data/Time/LocalTime/LocalTime.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -Wall -Werror #-}
+{-# OPTIONS -Wall -Werror -fno-warn-orphans #-}
 
 -- #hide
 module Data.Time.LocalTime.LocalTime



More information about the ghc-commits mailing list