cppcheck-1.52

New checks

* wrong value passed to isgraph
* missuse of std::cout
* some warnings when sizeof is used on pointer variable
* endless loop because of unsigned comparison
* better check for missing break in switch (redundant strcpy)
* using && instead of & in expression
* wrong usage of printf/scanf/etc (format string and parameters mismatch)
* useless calls of STL functions (wrong usage)
* detect suspicicous use of semicolon after if/for/while (--inconclusive)
* added checking of readlink() usage
* boolean comparison with string literals

For details, see this page:
http://sourceforge.net/apps/trac/cppcheck/milestone/1.52

Posted by Daniel Marjamäki 2011-12-10

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks