Cppcheck is an analysis tool for C and C++ code. Unlike compilers and many other analysis tools, we do not detect syntax errors. Cppcheck only detects the types of bugs that the compilers normally fail to detect. The goal is no false positives.
Cppcheck is an analysis tool for C and C++ code. Unlike compilers and many other analysis tools, we do not detect syntax errors. Cppcheck only detects the types of bugs that the compilers normally fail to detect. The goal is no false positives.
To install cppcheck, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install cppcheck
To see what files were installed by cppcheck, run:
port contents cppcheck
To later upgrade cppcheck, run:
sudo port selfupdate && sudo port upgrade cppcheck
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.