PC-lint Plus User Discussion
2 posts • Page 1 of 1
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?
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.