From 71dae4eb1a4891fc1a428caf70a06830864ffdc3 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Fri, 1 Feb 2019 19:10:07 +0000 Subject: Turn on -Wno-unused-imports in make build system This mirrors Hadrian and it good enough to get us unstuck. --- mk/warnings.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mk') diff --git a/mk/warnings.mk b/mk/warnings.mk index 0ae81bfcac..9775df7093 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 -- cgit v1.2.1