mirror of
https://github.com/carp-lang/Carp.git
synced 2024-10-04 00:58:00 +03:00
chore: disable unused-but-set-variable for clang (#1441)
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.
This commit is contained in:
parent
ce0601ae6e
commit
39208349e8
@ -36,6 +36,7 @@ defaultProject =
|
|||||||
"-Wall",
|
"-Wall",
|
||||||
"-Werror",
|
"-Werror",
|
||||||
"-Wno-unused-variable",
|
"-Wno-unused-variable",
|
||||||
|
"-Wno-unused-but-set-variable",
|
||||||
"-Wno-self-assign"
|
"-Wno-self-assign"
|
||||||
],
|
],
|
||||||
projectLibFlags = case platform of
|
projectLibFlags = case platform of
|
||||||
|
Loading…
Reference in New Issue
Block a user