Re: PSA: If you are C/C++ developer, use cppcheck

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

 



Hi


On Wed, Dec 18, 2013 at 4:39 AM, Maciek Borzecki wrote:
Have you been able to compare cppcheck with clang's static-analyzer?
Both issues that you managed to identify should have been found by
clang as well.

clang and cppcheck has some overlap but sometimes finds issues that the other doesn't.  Ideally you want to run them both before each release. You could even do a GCC build with more warnings enabled to go the extra mile.   The latest version of GCC with -Wall -Wextra -std=c99 seems pretty similar to Clang.

http://gcc.gnu.org/wiki/ClangDiagnosticsComparison

I also checked out splint but it returns too many false positives to be really useful. The only thing I haven't personally looked at is Coverity.  

Rahul
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[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