[commit: ghc] master: Remove warning-suppression flags for Cabal (ece8aff)

git at git.haskell.org git at git.haskell.org
Thu Dec 17 15:53:55 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/ece8aff3470cac4cce497004bf8b7ea52612f095/ghc

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

commit ece8aff3470cac4cce497004bf8b7ea52612f095
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Thu Dec 17 16:52:55 2015 +0100

    Remove warning-suppression flags for Cabal
    
    Cabal is currently warning free. So let's drop the `-w`-flags.
    
    /cc @dcoutts


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

ece8aff3470cac4cce497004bf8b7ea52612f095
 mk/warnings.mk | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/mk/warnings.mk b/mk/warnings.mk
index dd79673..7efcf08 100644
--- a/mk/warnings.mk
+++ b/mk/warnings.mk
@@ -47,11 +47,6 @@ SRC_HC_WARNING_OPTS_STAGE2 += -Wnoncanonical-monad-instances
 # Libraries that have dubious RULES
 libraries/bytestring_dist-install_EXTRA_HC_OPTS += -Wno-inline-rule-shadowing
 
-# Cabal doesn't promise to be warning-free
-utils/ghc-cabal_dist_EXTRA_HC_OPTS += -w
-libraries/Cabal/Cabal_dist-boot_EXTRA_HC_OPTS += -w
-libraries/Cabal/Cabal_dist-install_EXTRA_HC_OPTS += -w
-
 # Turn off import warnings for bad unused imports
 libraries/containers_dist-install_EXTRA_HC_OPTS += -Wno-unused-imports
 libraries/bytestring_dist-install_EXTRA_HC_OPTS += -Wno-unused-imports



More information about the ghc-commits mailing list