cppcheck

Langue: en

Version: 01/12/2009 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

cppcheck - Simple syntax checking of C/C++.

SYNOPSIS

cppcheck [--all] [--quiet] [--style] [--verbose] [--force] [file or path] ...

DESCRIPTION

Simple syntax checking of C/C++ code. Intended to complement the checking of the compiler. Checks for: memory leaks, mismatching allocation-deallocation, buffer overrun, and many more.

OPTIONS

Analyze given C/C++ files for common errors.

-a, --all

Normally a message is only shown if cppcheck is sure it has found a bug. When this option is given, all messages are shown.

-q, --quiet

Only print something when there is an error.

-s, --style

Check coding style.

-v, --verbose

More detailed error reports

-f, --force

Force checking of files that have a lot of configurations. Error is printed if such a file is found so there is no reason to use this by default.

AUTHOR

The program was written by Daniel Marjamäki, Reijo Tomperi and Nicolas Le Cam

SEE ALSO

Full list of features: http://cppcheck.wiki.sourceforge.net/

AUTHOR

Reijo Tomperi <aggro80@users.sourceforge.net>

Wrote this manpage for the Debian system.
Copyright © 2008 Reijo Tomperi

This manual page was written for the Debian system (but may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.