3 ms·
Clang has -Weverything that I almost always turn on.
by HexDecOctBin 3y ago
Clang has -Weverything that I almost always turn on.
- spc476 3y agoAnd then you get warnings about structures being padded and warnings about structures not being padded.
- Longhanks 3y agoEasy to opt out via -Wno-padding. I strongly prefer clang‘s -Weverything -Wno-c++98compat -Wno-c++98-compat-pedantic -Wno-padded to gcc‘s -Wall -Wextra -Wyes-really-every-single-one -Walso-this -Wjust-turn-it-all-on-please -Walso-this-obscure -Wetc -Ware-you-getting-it
- account42 3y agoExcept if you already have all the flags for GCC then adding a few more for Clang-specific warnings isn't much of a problem.