|
Posted
about 9 years
ago
by
Daniel Marjamäki
Cppcheck 1.80 has been released
Checking improvements:
- Added platform for Atmel AVR 8 bit microcontrollers (avr8)
- Better 'callstacks' in cppcheck messages
- Improved gnu.cfg, posix.cfg, wxwidgets.cfg and std.cfg, added motif.cfg
- Various
... [More]
improvements to AST, ValueFlow analysis and template parsing
Command line changes:
- Deprecated command line argument --append has been removed
- New command line argument --plist-output to create .plist files
- New command line argument --output-file to print output to file directly
- Check OpenCL files (.cl)
GUI:
- Support export of statistics to PDF
- Several small usability improvements
Additionally, lots of false positives and bugs have been fixed and several existing checks have been improved.
[Less]
|
|
Posted
over 9 years
ago
by
Daniel Marjamäki
Cppcheck-1.79 has been released
General changes:
- C++ code in C files is rejected now (use --language=c++ to enforce checking the code as C++)
- Write function access type to XML dump
Checking improvements:
- Improved configuration extraction in
... [More]
preprocessor
- Improved accuracy of AST
- Improved template parsing
- Improved support for (STL) containers in SymbolDatabase
- Improved support for C++11's 'auto' type
- Experimental support for uninitialized variables in ValueFlow analysis
- Added qt.cfg and sfml.cfg, improved several existing .cfg files
GUI:
- Use CFGDIR macro
Additionally, lots of false positives and bugs have been fixed and several existing checks have been improved.
[Less]
|
|
Posted
over 9 years
ago
by
Daniel Marjamäki
The Cppcheck project was registered on Sourceforge on 2007-05-08,
I originally thought that it would only be a small utility to catch some bugs in my code. I planned that the development would take ~2 weeks, because after that I expected that I
... [More]
would loose interest and do something else. Therefore the original design was very Keep-It-Simple.
I planned that I would loose interest, but that has not happened yet. Therefore I have continued working on Cppcheck and gradually added more and more features.
When I registered the project, the original name was c++check. This name was soon changed to cppcheck.
Now 10 years later it is still very active project. Release 1.79 is coming soon.
I believe we have come a long way in these 10 years and the development will continue.
[Less]
|
|
Posted
over 9 years
ago
by
Daniel Marjamäki
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
... [More]
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.
[Less]
|
|
Posted
over 9 years
ago
by
Daniel Marjamäki
Cppcheck 1.77 has been released
General changes:
- Added flag --cppcheck-build-dir to allow incremental analysis and inter-file checking
- Improved --project support for Visual Studio solutions
Removed checks:
New checks:
- Detect pointer overflow
-
... [More]
Detect usage of variable after std::move or std::forward
Checking improvements:
- Warn about number and char literals in boolean expressions
- Improved checking for variables modified but not used again
- Libraries: Added support to specify
- Improved ValueFlow, especially related to function return values and casts
- Improved simplification of Null values to allow more accurate checking
- Several improvements to windows.cfg, posix.cfg, gnu.cfg and std.cfg
- Reimplemented check for using iterators of mismatching containers
GUI:
- Support build directory as in CLI
Additionally, lots of false positives and bugs have been fixed and several existing checks have been improved.
[Less]
|
|
Posted
almost 10 years
ago
by
Daniel Marjamäki
the latest episode of cppcast is about Cppcheck.
cppcast is a podcast about C++.
|
|
Posted
almost 10 years
ago
by
Daniel Marjamäki
Cppcheck-1.76.1 has been released.
It has a bugfix to avoid hang.
|
|
Posted
almost 10 years
ago
by
Daniel Marjamäki
Cppcheck-1.76 has been released.
General changes:
- Completed CWE mapping
- Support opening project files of external build systems, including CMake and Visual Studio (CLI: --project)
- XML format version 1 is deprecated and will be removed in 1.81
... [More]
Removed checks:
New checks:
Checking improvements:
- Improved checking for conditions that are always true/false
- Improved format string checking: Support more functions, support %h and %hh
- Improved std.cfg, windows.cfg and qt.cfg; added wxwidgets.cfg
- Improved ValueFlow analysis
- Improved SymbolDatabase accuracy
- Improved Preprocessor (simplecpp)
- Support base class methods in Library
GUI:
- Support opening project files from GUI
- Added .desktop file
Additionally, lots of false positives and bugs have been fixed and several existing checks have been improved.
[Less]
|
|
Posted
about 10 years
ago
by
Daniel Marjamäki
please suggest improvements in the issue tracker: http://trac.cppcheck.net
|
|
Posted
about 10 years
ago
by
Bassam Abdul-Baki
"cppcheck --doc" still does not appear in your help file, while "cppcheck --errorlist" does. I always have to go to the web to remember the argument for the error checklist.
|