[cfe-dev] User documentation for supported warnings and --analyze mode

"Mgr. Šimon Tóth" toth at fi.muni.cz
Thu Mar 3 09:33:25 PST 2011


> If you are comparing between GCC and Clang, are you more interested in static analyzer warnings, or compiler warnings?  The latter is a better apples-to-apples comparison of functionality between the two compilers.

I want to compare supported warnings + get more information on the
static analyzer and its capabilities.

> The '--analyze' option is simply a driver hook for activating the static analyzer, which really should be considered an entirely different tool than the compiler itself.
> 
> As for documentation on either compiler warnings or static analyzer warnings, that area is severely lacking.  I'm working on documentation on the latter, and I think the goal is to eventually auto-generate the documentation for the compiler warnings, but that work isn't off the ground yet.

Basically I'm looking for something like this:
http://gcc.gnu.org/onlinedocs/gcc-4.5.2/gcc/Warning-Options.html#Warning-Options

-- 
Mgr. Simon Toth



More information about the cfe-dev mailing list