static analysis of C/C++ code
Go to file
Daniel Marjamäki 1477e16f7b updated error reports for test cases 2007-05-09 18:10:35 +00:00
testclass1 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass2 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass4 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass7 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass8 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass10 Added files from local repository. 2007-05-07 17:31:35 +00:00
testclass12 Added testcase: bad 'operator=()' 2007-05-09 18:09:23 +00:00
testdelete1 updated error reports for test cases 2007-05-09 18:10:35 +00:00
testfunc2 Added files from local repository. 2007-05-07 17:31:35 +00:00
testfunc3 Added files from local repository. 2007-05-07 17:31:35 +00:00
testh1 updated error reports for test cases 2007-05-09 18:10:35 +00:00
testh2 Updated test cases 2007-05-08 15:22:36 +00:00
testh5 Added files from local repository. 2007-05-07 17:31:35 +00:00
testmemset1 Added files from local repository. 2007-05-07 17:31:35 +00:00
teststdfunc1 Added files from local repository. 2007-05-07 17:31:35 +00:00
Makefile Added files from local repository. 2007-05-07 17:31:35 +00:00
checknpp.bat Added script that checks the notepad++ source code 2007-05-08 16:30:57 +00:00
cppcheck.bpf Files needed to build with Borland C++ Builder 2007-05-08 15:21:24 +00:00
cppcheck.bpr Files needed to build with Borland C++ Builder 2007-05-08 15:21:24 +00:00
cppcheck.res Files needed to build with Borland C++ Builder 2007-05-08 15:21:24 +00:00
main.cpp Check 'operator=()' 2007-05-09 18:10:10 +00:00
readme.txt Added readme.txt 2007-05-09 06:51:44 +00:00

readme.txt

=========
C++ check
=========


Compiling

  Any C++ compiler should work. 
  There are no dependencies.

  Linux:
      g++ -o cppcheck cppcheck.cpp

  Windows:
      gxx -o cppcheck cppcheck.cpp



Usage

  Just type:
      cppcheck filename.cpp

  The error messages will be printed to stderr.


Recommendations

  Create a shell script that checks all files.