[commit: packages/haskell2010] master: Remove obsolete `-fno-warn-unused-imports` (ecf0999)

git at git.haskell.org git at git.haskell.org
Sat Oct 26 19:42:02 UTC 2013


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

On branch  : master
Link       : http://git.haskell.org/packages/haskell2010.git/commitdiff/ecf09992fe39f7422d4c3d56205a9ebc6417c631

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

commit ecf09992fe39f7422d4c3d56205a9ebc6417c631
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Oct 26 20:28:54 2013 +0200

    Remove obsolete `-fno-warn-unused-imports`
    
    The "apparent bug in GHC, reports a bogus warning for the Prelude import
    below" doesn't seem to occur in GHC HEAD anymore.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

ecf09992fe39f7422d4c3d56205a9ebc6417c631
 System/IO/Error.hs |    2 --
 1 file changed, 2 deletions(-)

diff --git a/System/IO/Error.hs b/System/IO/Error.hs
index 1304dc4..d39261b 100644
--- a/System/IO/Error.hs
+++ b/System/IO/Error.hs
@@ -1,5 +1,3 @@
-{-# OPTIONS_GHC -fno-warn-unused-imports #-}
--- apparent bug in GHC, reports a bogus warning for the Prelude import below
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif



More information about the ghc-commits mailing list