[commit: ghc] wip/T16265: Turn on -Wno-unused-imports in make build system (71dae4e)

git at git.haskell.org git at git.haskell.org
Sun Feb 3 11:26:06 UTC 2019


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

On branch  : wip/T16265
Link       : http://ghc.haskell.org/trac/ghc/changeset/71dae4eb1a4891fc1a428caf70a06830864ffdc3/ghc

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

commit 71dae4eb1a4891fc1a428caf70a06830864ffdc3
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date:   Fri Feb 1 19:10:07 2019 +0000

    Turn on -Wno-unused-imports in make build system
    
    This mirrors Hadrian and it good enough to get us unstuck.


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

71dae4eb1a4891fc1a428caf70a06830864ffdc3
 mk/warnings.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mk/warnings.mk b/mk/warnings.mk
index 0ae81bf..9775df7 100644
--- a/mk/warnings.mk
+++ b/mk/warnings.mk
@@ -122,6 +122,9 @@ libraries/parsec_dist-install_EXTRA_HC_OPTS += -Wno-name-shadowing -Wno-unused-m
 libraries/parsec_dist-install_EXTRA_HC_OPTS += -Wno-unused-do-bind -Wno-missing-signatures
 libraries/parsec_dist-install_EXTRA_HC_OPTS += -Wno-unused-imports -Wno-type-defaults
 
+# text warns with integer-simple
+libraries/text_dist-install_EXTRA_HC_OPTS += -Wno-unused-imports
+
 # Turn of trustworthy-safe warning
 libraries/base_dist-install_EXTRA_HC_OPTS += -Wno-trustworthy-safe
 libraries/ghc-prim_dist-install_EXTRA_HC_OPTS += -Wno-trustworthy-safe



More information about the ghc-commits mailing list