On 09/03/2009 11:30 PM, Jim Meyering wrote:
Quick summary: use this tool:
http://clang-analyzer.llvm.org/
If you're not using its "scan-build" tool, then start. Right now.
Really. It's that good. ...
The software does not understand Fedora gcc/g++ well. Just to get started,
I had to add these to the command line:
-I/usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1 \
-I/usr/lib/gcc/x86_64-redhat-linux/4.4.1/../../../../include/c++/4.4.1/x86_64-redhat-linux
Then I got several dozen false positives (complaints that were incorrect)
from my first file. How new is this software?
--