This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
CodeWizard HOWTO |
Author: Emmanuel Medernach
Date: 23 Jul 2001
# # CodeWizard configuration file # Codewizard.RuleSet EffectiveC++ $PARASOFT/lib.%a/ecpp.so Codewizard.RuleSet MoreEffectiveC++ $PARASOFT/lib.%a/mecpp.so Codewizard.RuleSet KMC++ $PARASOFT/lib.%a/kmcpp.so Codewizard.RuleSet PCS $PARASOFT/lib.%a/pcs.so # CodeWizard.ReportFile stderr Codewizard.temp_directory /tmp Codewizard.analyze_only on |
Codewizard.suppress_file /some/directory/*To use the Effective C++ ruleset
Codewizard.RuleSet EffectiveC++ $PARASOFT/lib.%a/ecpp.soTo suppress the rule Effective C++ #7
codewizard.suppress class * file * item ecpp-7
source /pttools/CodeWizard/3.1/linux/codewizard.shIn order to use CodeWizard through your files you have to replace your compiler by codewizard in the compilation process. This can be done by setting an environment variable, like with QPlotter:
gmake all "USE_CODEWIZARD=1" 2> CW.outAnd results will be placed into the CW.out file. You could use insra for a graphical interface by adding this line in .psrc:
Codewizard.report_file insra