-
Notifications
You must be signed in to change notification settings - Fork 63
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
Building saw-remote-api produces excessive warnings due to -Weverything #1083
Comments
It warns about writing |
Indeed, it's not possible to make the code |
The current |
`-Weverything` enables absolutely every single warning that GHC has in its arsenal, which is usually too much. As discussed in #1083, this replaces `-Weverything` in favor of `-Wall`, which enables a more reasonable subset of warnings. This means that we don't have to explicitly disable as many warnings (which would otherwise be enabled by `-Weverything`) as before. Fixes #1083.
If I build
saw-remote-api
, my terminal is filled to the brim with GHC warnings:Most of these are more of stylistic opinions rather than actual issues in the code itself. The fact that GHC is even emitting these warnings in the first place is due to
saw-remote-api.cabal
enabling-Weverything
.-Weverything
turns on every single one of GHC's warnings, which I think is a less appropriate choice than-Wall
, which enables a more reasonable subset of GHC's warnings.I propose that we remove
saw-remote-api
's use of-Weverything
in favor of-Wall
. Any objections?The text was updated successfully, but these errors were encountered: