Skip to content
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

chore: disable unused-but-set-variable for clang #1441

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

scolsen
Copy link
Contributor

@scolsen scolsen commented Oct 31, 2022

At some point (I believe version 13.0.0?) clang added a warning that catches variables that were assigned but unused. This version of clang (or later) is now bundled w/ github's macos images and is causing our tests to fail in continuous integration. We can currently generate C code that trips this warning, so for now I've disabled it as we do some other warnings related to variable usages.

At some point (I believe version 13.0.0?) clang added a warning that
catches variables that were assigned but unused. This version of clang
(or later) is now bundled w/ github's macos images and is causing our
tests to fail in continuous integration. We can currently generate C
code that trips this warning, so for now I've disabled it as we do some
other warnings related to variable usages.
@scolsen scolsen requested a review from a team October 31, 2022 00:04
@scolsen
Copy link
Contributor Author

scolsen commented Oct 31, 2022

Seems like the linux and nix errors were transient. This does fix the macOS CI again.

@eriksvedang eriksvedang merged commit 3920834 into carp-lang:master Nov 1, 2022
scolsen added a commit to scolsen/Carp that referenced this pull request Nov 1, 2022
At some point (I believe version 13.0.0?) clang added a warning that
catches variables that were assigned but unused. This version of clang
(or later) is now bundled w/ github's macos images and is causing our
tests to fail in continuous integration. We can currently generate C
code that trips this warning, so for now I've disabled it as we do some
other warnings related to variable usages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants