hcs2hs failure

Matthew Pickering matthewtpickering at gmail.com
Wed Jan 30 14:19:39 UTC 2019


Simon,

Unfortunately -Werror seems to have not been enabled on CI builds
since the gitlab migration.

Along with Sebastian I am working to fix that here:
https://gitlab.haskell.org/ghc/ghc/merge_requests/257

Cheers,

Matt

On Tue, Jan 29, 2019 at 3:04 PM Simon Peyton Jones via ghc-devs
<ghc-devs at haskell.org> wrote:
>
> Is anyone else seeing this in a GHC build
>
> utils/hsc2hs/HSCParser.hs:170:14: error: [-Wunused-matches, -Werror=unused-matches]
>
>     Defined but not used: ‘d’
>
>     |
>
> 170 |         '\'':d:'\'':_ -> do any3Chars_; text -- Case 2
>
>     |              ^
>
> Indeed, d looks unused.  But this line of code has been there since 28 Dec, so I can’t understand why it has not bitten before.
>
> With -Werror my build fails.  I could switch to -Wwarn, but I think -Werror is the default.
>
> Simon
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


More information about the ghc-devs mailing list