static analysis of C/C++ code
Go to file
Daniel Marjamäki 8e568a1fd0 * Building Statement list: MALLOC, FREE
* Deactivated some warnings to make the output more interesting
2007-05-18 18:22:16 +00:00
internaltesting Testing: "return" and "delete" are not variable declarations 2007-05-17 17:26:32 +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
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
testmemcheck1 Test: updated the error message output by memcheck1 2007-05-16 17:17:29 +00:00
testmemcheck2 Added test for memory checking 2007-05-17 17:25:50 +00:00
testmemcheck3 Testing: memcheck3 - new and delete (no error) 2007-05-18 17:51:35 +00:00
testmemset1 Added files from local repository. 2007-05-07 17:31:35 +00:00
warnclass12 Testing: Deactivating some warnings 2007-05-18 18:19:05 +00:00
warnstdfunc1 Testing: Deactivating some warnings 2007-05-18 18:19:05 +00:00
Makefile Updated the Makefile. The name of this project has changed from 'codecheck' to 'cppcheck' 2007-05-15 11:19:22 +00:00
checknpp.bat Updated script that checks notepad++ 2007-05-10 17:24:52 +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
internaltesting.bat Test: Internal testing, added "testuse" 2007-05-16 10:31:44 +00:00
main.cpp * Building Statement list: MALLOC, FREE 2007-05-18 18:22:16 +00:00
readme.txt readme: minor update 2007-05-15 19:07:22 +00:00

readme.txt

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


Compiling

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

  Linux:
      g++ -o cppcheck main.cpp

  Windows:
      gxx -o cppcheck main.cpp



Usage

  Just type:
      cppcheck filename.cpp

  The error messages will be printed to stderr.


Recommendations

  Create a shell script that checks all files.