[GHC] #16273: Hadrian turns on `-Wno-unused-imports` for text when using integer-simple
GHC
ghc-devs at haskell.org
Fri Feb 1 19:19:36 UTC 2019
#16273: Hadrian turns on `-Wno-unused-imports` for text when using integer-simple
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 8.6.3
(Hadrian) |
Keywords: newcomer | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
In `Settings.Warnings`, hadrian turns on `-Wno-unused-imports` for the
`text` package when building with `integer-simple`.
It would be good to fix `text` so we can remove this special case.
1. Build GHC with `integer-simple` and `-Werror`
2. Remove the special case for `text` in `Settings.Warnings`.
3. Fix the warnings in `text` appropriately so the build finishes.
4. Push the fix upstream and then update the submodule.
This could also be debugged without having to build ghc by downloading an
[https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/download?job
=validate-x86_64-linux-deb9-integer-simple integer-simple bindist].
Also see: https://github.com/haskell/text/issues/250
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16273>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list