Re: clang static analyzer: use it!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

--

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux