Turn on -Wno-unused-imports in make build system
authorMatthew Pickering <matthewtpickering@gmail.com>
Fri, 1 Feb 2019 19:10:07 +0000 (19:10 +0000)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Sun, 3 Feb 2019 03:05:36 +0000 (22:05 -0500)
This mirrors Hadrian and it good enough to get us unstuck.

mk/warnings.mk

index 0ae81bf..9775df7 100644 (file)
@@ -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