4 ms·
-Weverything is also part of clang. An example of a warning is "this struct has a padding byte between these two fields." A blacklist would be painful. -Wevery
by ridiculous_fish 7y ago
-Weverything is also part of clang. An example of a warning is "this struct has a padding byte between these two fields." A blacklist would be painful.
-Weverything should be thought of as a tool for discovering new warning flags relevant to your project. Add those flags, but don't enable -Weverything for routine builds, unless you're a masochist.
- cpeterso 7y agoBarrow/compiler-warnings is a nice reference for all Chang and gcc warning flags, which flags implicitly enable other warnings, and in which compiler version they were added: https://github.com/Barro/compiler-warnings/ https://github.com/Barro/compiler-warnings/