How do I lint my project without using PC-lint plugin?

To lint your project, you have to:

  1. Configure the build settings (for more information, refer to the topic How do I configure the build settings to lint my project without plugin?)
  2. Set up a batch file to call PC-lint (for more information, refer to the topic How do I set up a batch file to call PC-lint?)
  3. Define the list of files (for more information, refer to the topic How do I define the list of files to lint my project without plugin?)
  4. Specify the options (for more information, refer to the topic How do I pass the project specific options to lint my project without plugin?)
  5. Define the message format (for more information, refer to the topic How do I define the message format to lint my project without plugin?)
  6. Build the Configuration

    You can run it like any other build configuration, click the inverted triangle in the Build button from the IDE toolbar

    Figure 1. Building Lint Configuration

    Building Lint Configuration

The output messages appears in the Problems view.

The figure listed below is an example that shows several lint errors for main.c. The messages appears in the Problems view, and are listed as well in the Console view.

Figure 2. Lint Output Example

Lint Output Example