-
Notifications
You must be signed in to change notification settings - Fork 62
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
Build with -Werror -Wall #538
Comments
Excellent idea!!
…On Thu, Apr 7, 2022 at 2:39 PM Facundo Domínguez ***@***.***> wrote:
I've been tripped a couple of times by unintended name captures. It would
be for the better to enable -Werror -Wall when building all modules.
stack has the --pedantic flag to turn on these.
These flags are usually specified for development builds or in CI, but not
when building liquid-fixpoint as a dependency (this would interfere with
the user ability to install it).
liquid-fixpoint.cabal already has -Werror behind a devel flag. For builds
with cabal-install this could be augmented to use -Wall as well.
—
Reply to this email directly, view it on GitHub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ucsd-2Dprogsys_liquid-2Dfixpoint_issues_538&d=DwMCaQ&c=-35OiAkTchMrZOngvJPOeA&r=r3JfTqNkpwIJ1InE9-ChC2ld7xwATxgUx5XHAdA0UnA&m=skgib_A8Yh0zqVhY623O5SuKAvIwMBVtg733TbGJUGPVtl-qJ9PBYhW_MJKaTP5Q&s=8ALnXuXkQ6rwqLbolQV990NHaRml6MAgvLNhN-bZvHA&e=>,
or unsubscribe
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAMS4OD6V7E2YNROOH7YN73VD5IY5ANCNFSM5S2VWYQA&d=DwMCaQ&c=-35OiAkTchMrZOngvJPOeA&r=r3JfTqNkpwIJ1InE9-ChC2ld7xwATxgUx5XHAdA0UnA&m=skgib_A8Yh0zqVhY623O5SuKAvIwMBVtg733TbGJUGPVtl-qJ9PBYhW_MJKaTP5Q&s=ZmI0Nt97iDllZZ9-fxMyBploe7PE_bm5aUfMhTR27-8&e=>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Dropping `GHC == 7.10.3" would allow us to use the newer warning syntax. liquid-fixpoint/liquid-fixpoint.cabal Line 148 in db2c3c7
|
I'm most of the way there with this one, can it be assigned to me please? |
@facundominguez is this complete with #591? Are we going to try for a stretch goal of having fewer |
This would be helpful to have eventually. I'd leave this issue open until then. |
I've tripped a couple of times over unintended name captures. It would be for the better to enable
-Werror
-Wall
when building all modules.stack
has the--pedantic
flag to turn on these.These flags are usually specified for development builds or in CI, but not when building
liquid-fixpoint
as a dependency (this would interfere with the user ability to install it).liquid-fixpoint.cabal
already has-Werror
behind adevel
flag. For builds withcabal-install
this could be augmented to use-Wall
as well.The text was updated successfully, but these errors were encountered: