chkdemo -rcomplex.cco test.c // c example of complexity chkdemo -rcomplex.cco -k7 test.cpp // C++ complexity chkdemo -rdeprec.cco test.cpp // find deprecated C++ feature chkdemo -rosc_html.cc0 -k7 test.cpp // generate html for old style casting in MS C++ chkdemo -r64bit.cco test.c // identify porting problems of legacy code to 64 bit chkdemo -r64bit.cco -k8 test.cpp // identify 64 bit prob's on GNU G++ *** CodeCheck works just like the 'cl' Microsoft compiler at the cmd line level, [ or gnu g++ ] codecheck can run from your favorite GUI, by simply installing it as a tool. The CodeCheck technotes explain various ways of running codecheck from your favorite GUI Programmers Workbench. See master.txt for a complete list of codecheck features. Below is a list of precompiled rule file(s) included with the codecheck demo. Note this demo cannot compile rule files. If you wish to modify rule files and/or write your own you can request a special full operation demo from Abraxas Software, or of course you can purchase the production product. 64bit.cco deprec.cco osc_html.cco complex.cco In summary the real power of CodeCheck is from Modifying the .cc file to learn how to program codecheck's expert system. As seen from the OSC_HTML example codecheck can map C/C++ into any abstraction. CodeCheck can find and/or fix any problem that you think of, if you don't see what your looking for just ask - support@abxsoft.com *** Examples D:\Work\poc\Codchk\902b2\test>..\chkdemo test.c -r64bit.cco Abraxas Software (R) CodeCheck NT version 9.02 B2 DEMO Copyright (c) 1988-2001 by Abraxas Software, Inc. All rights reserved. Checking extended ANSI C file test.c with rules from 64bit.cc: test.c(7): Warning W9999: name = fopen test.c(7): Warning W1002: Use type int4 instead of int. test.c(9): Warning W9999: name = xyz test.c(9): Warning W1002: Use type int2 instead of short. test.c(12): Warning W9999: name = main test.c(12): Warning W1002: Use type int4 instead of int. test.c(12): Warning W1009: Declaration for main need explicit type specifier test.c(13): Warning W9999: name = xyz File test.c check complete. D:\Work\poc\Codchk\902b2\test> *** HTML // NOTE THIS CASE Generates a file called cast.html, more useful when applied to C++ D:\Work\poc\Codchk\902b2\test>chkdemo test.c -rosc_html.cco Abraxas Software (R) CodeCheck NT version 9.02 B2 DEMO Copyright (c) 1988-2001 by Abraxas Software, Inc. All rights reserved. Checking extended ANSI C file test.c with rules from osc_html.cc: test.c(15): Warning W0001: Use C++ style cast. File test.c check complete. ***