I don't know if anyone cares about them anymore, since I think gccjust for fun, i threw the following together to peruse the tree (orI had a bunch of similar greps that I've recently been half-assedly
any subdirectory) and look for stuff that violates the CodingStyle
guide. clearly, it's far from complete and very ad hoc, but it's
amusing. extra searches happily accepted.
putting together into a single script too.
See http://www.codemonkey.org.uk/projects/findbugs/
grew some smarts in the area recently, but there are a lot of lines of
code matching "static int.*= *0;" and equivalents in the driver tree.
I'd really like to see the C compiler being enhanced to detect
"stupid casts", i.e. those, which when removed, do not change (a) the outcome
(b) the compiler warnings/error output.