From: Simon Marlow Date: Wed, 15 Jul 2009 12:28:39 +0000 (+0000) Subject: warning fix: -fno-implicit-prelude -> -XNoImplicitPrelude X-Git-Tag: ghc-darcs-git-switchover~348 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=207e64ee80ef749dbb46df0fa6a134b19d5a42a5;p=ghc-base.git warning fix: -fno-implicit-prelude -> -XNoImplicitPrelude --- diff --git a/GHC/IO.hs b/GHC/IO.hs index c805004..d1598ac 100644 --- a/GHC/IO.hs +++ b/GHC/IO.hs @@ -1,5 +1,5 @@ {-# OPTIONS_GHC -fno-warn-orphans #-} -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IO/Buffer.hs b/GHC/IO/Buffer.hs index aaa3f58..65e7184 100644 --- a/GHC/IO/Buffer.hs +++ b/GHC/IO/Buffer.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IO/BufferedIO.hs b/GHC/IO/BufferedIO.hs index 160b1a1..f5c874e 100644 --- a/GHC/IO/BufferedIO.hs +++ b/GHC/IO/BufferedIO.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IO/Encoding.hs b/GHC/IO/Encoding.hs index 7763ce4..f192ab8 100644 --- a/GHC/IO/Encoding.hs +++ b/GHC/IO/Encoding.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.IO.Encoding diff --git a/GHC/IO/Encoding/Iconv.hs b/GHC/IO/Encoding/Iconv.hs index 02090d1..554c053 100644 --- a/GHC/IO/Encoding/Iconv.hs +++ b/GHC/IO/Encoding/Iconv.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.IO.Encoding.Iconv diff --git a/GHC/IO/Encoding/Latin1.hs b/GHC/IO/Encoding/Latin1.hs index 97b198c..67a9cd7 100644 --- a/GHC/IO/Encoding/Latin1.hs +++ b/GHC/IO/Encoding/Latin1.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# LANGUAGE BangPatterns #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IO/Encoding/Types.hs b/GHC/IO/Encoding/Types.hs index bac4af2..9be6c98 100644 --- a/GHC/IO/Encoding/Types.hs +++ b/GHC/IO/Encoding/Types.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.IO.Encoding.Types diff --git a/GHC/IO/Encoding/UTF16.hs b/GHC/IO/Encoding/UTF16.hs index c824319..d44259f 100644 --- a/GHC/IO/Encoding/UTF16.hs +++ b/GHC/IO/Encoding/UTF16.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# LANGUAGE BangPatterns #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IO/Encoding/UTF32.hs b/GHC/IO/Encoding/UTF32.hs index 9549cf0..e384abd 100644 --- a/GHC/IO/Encoding/UTF32.hs +++ b/GHC/IO/Encoding/UTF32.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# LANGUAGE BangPatterns #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IO/Encoding/UTF8.hs b/GHC/IO/Encoding/UTF8.hs index c249289..edca77c 100644 --- a/GHC/IO/Encoding/UTF8.hs +++ b/GHC/IO/Encoding/UTF8.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# LANGUAGE BangPatterns #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IO/Exception.hs b/GHC/IO/Exception.hs index 232ed83..032b8bf 100644 --- a/GHC/IO/Exception.hs +++ b/GHC/IO/Exception.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IO/Handle.hs b/GHC/IO/Handle.hs index d87deef..b3c780e 100644 --- a/GHC/IO/Handle.hs +++ b/GHC/IO/Handle.hs @@ -1,5 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} -{-# OPTIONS_GHC -XRecordWildCards #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -XRecordWildCards #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IO/Handle/Types.hs b/GHC/IO/Handle/Types.hs index 6566619..0a56d9a 100644 --- a/GHC/IO/Handle/Types.hs +++ b/GHC/IO/Handle/Types.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IOArray.hs b/GHC/IOArray.hs index 5d41c40..35638ff 100644 --- a/GHC/IOArray.hs +++ b/GHC/IOArray.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/IORef.hs b/GHC/IORef.hs index 4ac336e..51466bc 100644 --- a/GHC/IORef.hs +++ b/GHC/IORef.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | diff --git a/GHC/MVar.hs b/GHC/MVar.hs index 67fa7c6..348ae51 100644 --- a/GHC/MVar.hs +++ b/GHC/MVar.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_GHC -XNoImplicitPrelude -funbox-strict-fields #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- |