[commit: packages/time] format-widths,improve-leapseconds,master,posix-perf,tasty,wip/travis: 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
Mon Feb 20 21:13:16 UTC 2017


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

On branches: format-widths,improve-leapseconds,master,posix-perf,tasty,wip/travis
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