-
Notifications
You must be signed in to change notification settings - Fork 215
Closed
Description
I just tried to upload this package: https://github.com/turion/rhine/blob/4a90c5f2abd72de6122652dfd821f0c295cd4ef6/rhine/rhine.cabal
It is configured with:
ghc-options: -W
-Wno-unticked-promoted-constructors
-Werror
In particular, it does not have -Wall. Still, I get the following error:
Error: Invalid package
'ghc-options: -Wall -Werror' makes the package very easy to break with future
GHC versions because new GHC versions often add new warnings. Use just
'ghc-options: -Wall' instead. Alternatively, if you want to use this, make it
conditional based on a Cabal configuration flag (with 'manual: True' and
'default: False') and enable that flag during development.
This seems to be a bug in hackage. At the very least, the error message should point only at -Werror. Or, the configuration -W -Werror should be allowed (since it does not break so quickly as -Wall -Werror).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels