carp-lang / Carp

A statically typed lisp, without a GC, for real-time applications.
Apache License 2.0
5.47k stars 173 forks source link

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

Closed scolsen closed 1 year ago

scolsen commented 1 year ago

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 commented 1 year ago

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