Menu

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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.