SlackBuilds Repository

15.0 > Development > cppcheck (2.21.1)

Cppcheck is a static analysis tool for C/C++ code. Unlike C/C++
compilers and many other analysis tools, it doesn't detect syntax
errors. Cppcheck only detects the types of bugs that the compilers
normally fail to detect. The goal is to have no false positives.

To supplement Cppcheck, it is recommended that you enable as many
compiler warnings as possible. For the GCC compiler, take a look
at http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html for a
comprehensive list of warning options that GCC supports. At a minimum,
it is recommended that you enable -Wall, -Wextra, and -pedantic

qt6 is an dependency for GUI now. It is not enabled by default,
as qt6 is not supported for 32-bit system.

Set MAKEGUI=yes to enable GUI building. But remember to install
qt6 first.

This requires: cmake-opt

Maintained by: Zhu, Qun-Ying
Keywords: debugger,programming,static,analysis,debugging,C,C++
ChangeLog: cppcheck

Homepage:
http://cppcheck.sourceforge.net/

Source Downloads:
cppcheck-2.21.1.tar.gz (ea5aa901a290a410c523cca4042fe184)

Download SlackBuild:
cppcheck.tar.gz
cppcheck.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds