Installation
To install the software, download and run the Windows 64-bit installer found on that page.
Thie installer requires admin rights as it installs to the following folder location:
Code: Select all
C:\Program Files\Cppcheck
Cppcheck User Manual
The user manual for this tool can be found here: https://cppcheck.sourceforge.io/manual.pdf
Zeus Integration
To use cppcheck from inside Zeus, use the Options, Document Types menu to edit the C/C++ Document Type and inside the Tools panel add new tool using the details shown below:
Code: Select all
Cppcheck '$f' File
cppcheck.exe
--platform=win64 "$fn"
$fdd
To test the newly created tool, save the following code to an example.cpp file:
Code: Select all
int main()
{
char a[10];
a[10] = 0;
return 0;
}