Cppcheck-1.78 has been released.
General changes:
- Reduced memory usage by up to 10% by reducing size of token list
New checks:
- Mismatching argument names between function declaration and definition
- Detect classes which have a copy constructor but no copy operator and vice versa
Checking improvements:
- Improved matching of overloaded functions
- Improved ValueType analysis, especially related to allocations with "new" and C++11's "auto"
- Improved support for C++11 brace initialization
- Improved ValueFlow analysis
- Improved template parsing
- Improved detection of memory leaks
- Improved nullpointer checking when nullptr and NULL are used
- Detect array out of bounds across compilation units
- Extended windows.cfg, posix.cfg and std.cfg
Additionally, lots of false positives and bugs have been fixed and several existing checks have been improved.
Hi Daniel. In 1.77 my colleague and I found an issue where the set of warnings found and reported were completely different dependent on whether an include path is set or not. Do you know if that is a known issue and, if so, whether 1.78 addresses it? If not, how best to report? Thanks
that is hard to say. for instance I made a fix in the preprocessor that means better configurations are extracted.
It is best to report problems in our Trac: http://trac.cppcheck.net