BSD Ports

devel/cppcheck 2.18.0 OpenBSD

C/C++ static checker

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Gleydson Soares <[email protected]>
Categories
devel, lang/python

Description

Cppcheck is a command-line tool that tries to detect bugs that your C/C++ compiler doesn't see. It is versatile, and can check non-standard code including various compiler extensions, inline assembly code, etc. Its internal preprocessor can handle includes, macros, and several preprocessor commands. While Cppcheck is highly configurable, you can start using it just by giving it a path to the source code.

In the other systems

SystemPortVersion
OpenBSDdevel/cppcheck2.18.0
FreeBSDdevel/cppcheck2.21.1
NetBSDdevel/cppcheck2.8nb24
DragonFlydevel/cppcheck2.17.1_1
MidnightBSDdevel/cppcheck2.20.0_1

Install

Binary package:

pkg_add cppcheck

From the ports tree:

cd /usr/ports/devel/cppcheck && make install

Dependencies

Build dependencies 3
Run dependencies 1