[Git][ghc/ghc][wip/text-2.1.2] hadrian: allow -Wunused-imports for text package

Bodigrim (@Bodigrim) gitlab at gitlab.haskell.org
Sat Oct 26 22:26:12 UTC 2024



Bodigrim pushed to branch wip/text-2.1.2 at Glasgow Haskell Compiler / GHC


Commits:
d3ad95e6 by Andrew Lelechenko at 2024-10-26T23:26:06+01:00
hadrian: allow -Wunused-imports for text package

- - - - -


1 changed file:

- hadrian/src/Settings/Warnings.hs


Changes:

=====================================
hadrian/src/Settings/Warnings.hs
=====================================
@@ -66,7 +66,9 @@ ghcWarningsArgs = do
         , package primitive    ? pure [ "-Wno-unused-imports"
                                       , "-Wno-deprecations" ]
         , package rts          ? pure [ "-Wcpp-undef" ]
-        , package text         ? pure [ "-Wno-deprecations", "-Wno-deriving-typeable" ]
+        , package text         ? pure [ "-Wno-deprecations"
+                                      , "-Wno-deriving-typeable"
+                                      , "-Wno-unused-imports" ]
         , package terminfo     ? pure [ "-Wno-unused-imports", "-Wno-deriving-typeable" ]
         , package stm          ? pure [ "-Wno-deriving-typeable" ]
         , package osString     ? pure [ "-Wno-deriving-typeable" ]



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d3ad95e69b16ce458f8d9cc40bda6e97b88cef3f

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d3ad95e69b16ce458f8d9cc40bda6e97b88cef3f
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241026/3acd0b8e/attachment-0001.html>


More information about the ghc-commits mailing list