-Weverything option leads to far too many warnings - is strongly unrecommended - in favour of -Wall.
C:\Program Files\CodeBlocks\share\CodeBlocks\templates\wizard\common_functions.script
contains line 52
else if ( GetCompilerFactory().CompilerInheritsFrom(compilerID, _T("clang")) )
{
base.AddCompilerOption(_T("-Weverything"));
}
https://quuxplusone.github.io/blog/2018/12/06/dont-use-weverything/Arthur O’Dwyer says
"Put -W -Wall in your build flags.
The Clang devs will take care of making sure this is a sensible warning level for all codebases, including yours.
Listen to the Clang devs when they say, “Don’t put -Weverything in your build flags.”
Posted 2018-12-06
"
May I suggest that the line below would be better. I find that -Weverything takes hours to compiler with reams of logs, and I can't see the wood for the trees. Anyone with much cleaner code than mine can always add -Weverything if they wish ;-)
use -Wall as default warning level. base.AddCompilerOption(_T("-Wall"));