Closed egirault closed 3 years ago
Indeed, thanks for spotting it!
For reference, it was due to a bad grep
, clang
supports -Wlogical-op-parentheses
, which is enabled by -Wparentheses
(the equivalent of -Wlogical-op
for GCC), whic is included in -Wall
.
Hello, Thanks for this repo, it's great! I think there is a small error in the clang TL;DR section of the README; it seems that the
-Wlogical-op
option is GCC only and is not supported by clang. It is not listed in the reference. This is what I get withclang-12 -Wlogical-op foo.c -o foo
: