build: Use curated clang -Wall instead of -Weverything for clang-cl#1554
build: Use curated clang -Wall instead of -Weverything for clang-cl#1554
Conversation
In clang-cl, bare `-Wall` maps to `-Weverything`, which enables all warnings including `-Wswitch-enum`. Use `/clang:-Wall` to get the standard curated clang `-Wall` subset instead, and remove the many `-Wno-*` suppressions that were only needed to tame `-Weverything`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
I actually appreciated the |
|
Ok, no problem. I thought it wasn't intentional. Perhaps we could then turn on |
I mean, we can try to increase the warning level everywhere, but test this locally first because it always takes a little time to figure out what actually valuable feedback is and what is just noise. Much more valuable would be to fix the CI configs where |
In clang-cl, bare
-Wallmaps to-Weverything, which enables all warnings including-Wswitch-enum. Use/clang:-Wallto get the standard curated clang-Wallsubset instead, and remove the many-Wno-*suppressions that were only needed to tame-Weverything.See also:
/Wallto-Wall, not-Weverythingllvm/llvm-project#102982