2007-05-09 08:51:44 +02:00
|
|
|
=========
|
|
|
|
C++ check
|
|
|
|
=========
|
|
|
|
|
|
|
|
|
|
|
|
Compiling
|
|
|
|
|
|
|
|
Any C++ compiler should work.
|
|
|
|
There are no dependencies.
|
|
|
|
|
|
|
|
Linux:
|
2007-05-15 21:07:22 +02:00
|
|
|
g++ -o cppcheck main.cpp
|
2007-05-09 08:51:44 +02:00
|
|
|
|
|
|
|
Windows:
|
2007-05-15 21:07:22 +02:00
|
|
|
gxx -o cppcheck main.cpp
|
2007-05-09 08:51:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
|
|
|
|
Just type:
|
|
|
|
cppcheck filename.cpp
|
|
|
|
|
|
|
|
The error messages will be printed to stderr.
|
|
|
|
|
|
|
|
|
|
|
|
Recommendations
|
|
|
|
|
|
|
|
Create a shell script that checks all files.
|
|
|
|
|