-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for GHC version (range) specific flags. #564
Comments
So far all per-GHC options where configured like:
i.e. we have a very specific thing and we set a compiler version when it's enabled. With things like
is one idea, but I don't know how to elegantly implement it. I'm fine with adding |
The haskell/cabal#7783 once released will force us to think about this, especially
I might or might not try stuff before hand. |
When using
-Werror
on CI, the fact that warning flags change over time can lead to issues where code cannot be warning free across all supported versions. A solution is to toggle of certain warnings for specific GHC versions, but currently there is no way to specify--local-ghc-options
for only some GHC versions.The
missing-methods
warning is currently special-cased viacfgErrorMissingMethods
, it would be nice if we could generalise this to specify "GHC flags per version range".The text was updated successfully, but these errors were encountered: