This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Lint not running

Hello

Having set the lint executable and config. file as appropriate, I find that selecting lint *.c (or lint all files) from the tools menu shows me (via the output window) that PC lint is being run, but no other information appears. I don't see the usual module name, or any of the 'deliberate' errors in the source file.

I've checked the KnowledgeBase, and have added the suggested output formatting to the *.lnt file, but still no joy...

I'm using uVision2 v2.23 under Windows 2000

Any suggestions?

David

  • Check if there are any directory names like "My WorkingFolder" with a white space in your include folder definitions.

    White spaces in directory of file names make stalling Lint after putting out that it was running.

  • Choose the executable file as "lint-nt.exe" and the configuration file as "std.lnt". The "std.lnt" file must contains lines as follow:

    C:\Lint\lnt\co-kc166.lnt

    PC Lint don't write complete PATH with *.lnt file, so try to add that. And if your source file include header files, you must have complete PATH in the file "std.lnt" for any header files. You can specify complete PATH for header files by using the configuration.
    During the configuration, you have an option one step as "Header Files" and in this step, you must choose the "Assist me in preparing a -i option". And then, all the PATH for Header files.

    Try this and send me a mail if your an error.