Page 1 of 1

How do I use PC-lint Plus with Visual Studio project?

Posted: Thu Sep 26, 2019 6:18 pm
by jganzo
I have solution and project file for Visual Studio 2017 and I want to analyze them. Every time though I make the command "pclp64 xstate_brk.sln" it seems not to be right. If doing "pclp64 main.cpp" instead it cannot find of the include file for "<algorithm>" header. How do run for analysis with Visual Studio?

Re: How do I use PC-lint Plus with Visual Studio project?

Posted: Thu Sep 26, 2019 7:59 pm
by YBCO
In the config directory there is a utility named pclpvscfg.exe. Open this and select your Visual Studio version from the list. Browse for your solution file, fill in the names for the output files, and locate the file it asks for in the config directory. Run the batch file it generated to produce a configuration. Then run pclp64 compiler.lnt project.lnt to analyze the project. See section 2.3.13 of the manual for more information.