LCLint Home Page

LCLint Home

Download

Linux
Windows 95/NT
       DevStudio
Source

Documentation

User's Guide
       HTML Online
Publications
Samples

Other Sources

Links
Mailing Lists
Bugs



Credits


Using LCLint in Microsoft Developer Studio

Running in Output Window

You can add custom tools to Developer Studio to run LCLint within the IDE. Select Tools|Customize. Add a new command to the command list. In the command edit box, enter the command to run lclint (e.g., lclint). In the arguments edit box, enter the command line arguments (e.g., *.c +parenfileformat). Check the "Use Output Window" box.

More ambitious users working on large projects, will configure Developer Studio to run lclint on a single file and use an lclint library for interface information.

Message format

You can configure LCLint to produce messages that can be parsed by DevStudio by using the +parenfileformat flag. Since DevStudio wraps message text automatically, you may also wish to use -linelen 999 to set the line lenght high enough so lclint will not split lines.


David Evans
Software Devices and Systems
evs@sds.lcs.mit.edu