Visual Lint FAQ
On this page you will find answers to some common questions about Visual Lint. If there is anything you need to know which is not covered here, please do not hesitate to contact us.
- Which analysis tools does Visual Lint support?
- Which platforms does Visual Lint support?
- Which versions of Visual Studio and Visual C++ is Visual Lint compatible with?
- Which editions of Visual Studio and Visual C++ is Visual Lint compatible with?
- Which versions of Eclipse is Visual Lint compatible with?
- Does the Visual Lint installer include a trial version of PC-lint Plus?
- Which programming languages does Visual Lint support?
- How closely integrated into the development environment is Visual Lint?
- Can Visual Lint be run from the command line (e.g. as part of an overnight build process)?
- Can Visual Lint handle project files containing .props/.vsprops files and Visual Studio Environment Variables?
- Can I pass my own parameters to the analysis tool?
- Help! I'm getting PC-lint/PC-lint Plus analysis errors in the system header files. What could be wrong?
- How do I perform a silent installation of Visual Lint?
Which code analysis tools does Visual Lint support?
Please see the Visual Lint Analysis Tools page for details of the supported analysis tools.
To use Visual Lint, you will need to have access to at least one supported code analysis tool compatible with your programming language and compiler. If you do not have access to any commercial analysis tools, don't worry - there are free alternatives available. The "More Information" button on the Configuration Wizard "Select Folder" page will open an appropriate download or purchase page for the selected analysis tool.
If you are analysing modern C++ code (e.g. for Visual Studio 2013 or later, or GCC4.x/5.x), we strongly recommend using PC-lint Plus rather than PC-lint 9.0, as it supports modern C++ in ways that PC-lint cannot.
Please see https://www.gimpel.com/for_pclint_users.html or contact us for details.
Please contact us if there is a particular analysis tool you would like to use with Visual Lint.
Which platforms does Visual Lint support?
Visual Lint has been tested on Windows Server 2008, Windows 7, Windows Server 2012 and Windows 10. Both x86 and x64 installations are supported.
The software should also work on Windows Server 2003, Windows XP and Windows Vista but we no longer test on these platforms.
Please contact us if you have any queries about compatibility with a particular platform or service pack level.
Which versions of Visual Studio and Visual C++ is Visual Lint compatible with?
Visual Lint is compatible with projects for eMbedded Visual C++ 4.0, Microsoft Visual Studio 6.0, Visual Studio .NET 2002, Visual Studio .NET 2003, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio 2012, Visual Studio 2013, Visual Studio 2015, Visual Studio 2017 and Visual Studio 2019. A Visual Studio plug-in compatible with all versions of Visual Studio .NET 2002 onwards is also provided.
Please contact us if you have any queries about compatibility with a particular environment or service pack level.
Which editions of Visual Studio and Visual C++ is Visual Lint compatible with?
Visual Lint is compatible with all editions of Visual C++ and Visual Studio, with the exception of Visual Studio Express Editions.
This restriction is not one of our choosing - unfortunately the Visual Studio Express Editions do not allow the loading of third party add-ins and extension packages. This is a limitation imposed directly by Microsoft themselves.
For Visual Studio 2013 or later we recommend analysing code with PC-lint Plus rather than PC-lint 9.0, as the latter may generate analysis errors when analysing the Visual C++ system headers.
Please see https://www.gimpel.com/for_pclint_users.html or contact us for details.
Which versions of Eclipse is Visual Lint compatible with?
Visual Lint has been tested with x86 and x64 builds of Eclipse 3.4 onwards using the MinGW toolchain, but should load in versions back to at least 3.1. Please contact us if you have any queries about compatibility with a particular Eclipse configuration.
Does the Visual Lint installer include a trial version of PC-lint Plus?
Unfortunately not. Please visit https://www.gimpel.com/evaluate.html to request an evaluation licence for PC-lint Plus.
Which programming languages does Visual Lint support?
Visual Lint currently supports analysis of C, C++, C# and Java codebases via a selection of code analysis tools.
If you need support for another language or analysis tool please contact us and we will look into integrating it into Visual Lint.
How closely integrated into the development environment is Visual Lint?
Modern development environments such as Eclipse and Microsoft Visual Studio allow very close integration into the IDE. Under these environments, Visual Lint will integrate its commands into the Visual Studio menubar and command bars, and even add a "Perform Manual Analysis" command to the context menu in the code editor. The Visual Lint toolwindows can be docked anywhere in the IDE, and can be pinned and autohidden just like any other windows.
Can Visual Lint be run from the command line (e.g. as part of an overnight build process)?
Yes - the VisualLintConsole application supplied within the Visual Lint installer is a command line version of Visual Lint, supporting a similar set of commands to those of our companion product LintProject Professional.
VisualLintConsole is capable of incremental parallelised analysis in the same way as interactive versions of Visual Lint. Please contact us if you need assistance in integrating VisualLintConsole with a particular build or continuous integration server environment.
Can Visual Lint handle project files containing .props/.vsprops files and Visual Studio Environment Variables?
Yes, it can. Although PC-lint does not currently expand such project files correctly, Visual Lint will by default read the project files itself in order to write the project indirect (or project.lnt) files needed to perform the analysis.
During this process it will expand Visual Studio environment variables and recursively parse .vsprops files in order to correctly identify any additional include or preprocessor directives defined in that manner. Please contact us if you have specific requirements.
Can I pass my own parameters to the analysis tool?
Yes. The Command Line page in the Options Dialog provides a control which allows you to enter parameters to pass to the active analysis tool. Registered copies of Visual Lint Professional and Enterprise Editions also provide a similar capability on a per solution or per project basis.
Please contact us if you have specific requirements.
Help! I'm getting PC-lint/PC-lint Plus analysis errors in the system header files. What could be wrong?
If you are receiving errors (as opposed to warnings, elective notes etc.) in the system header files, there is almost certainly a mismatch between your analysis configuration and the configuration presented to the C++ compiler itself. This is most likely to occur if a project configuration is incorrectly handled or the include folder specification is not set up correctly in the std.lnt global indirect file.
The first thing we would suggest is that you incorporate Riverblade supplied error suppression files such as lib-rb-win32.lnt into your std.lnt file. These files are included in your Visual Lint installation and contain suppression directives for commonly encountered issues in C++ system header files and libraries.
If however you are unable to determine the cause yourself we would be happy to look at your configuration for you and suggest any resultant changes. If you wish to do this, we will need you to send us the following information:
- A copy of your analysis configuration (the std.lnt file etc.)
- A small sample project which illustrates this issue
- Details of the global analysis configuration you are using with Visual Lint (either a dump of the registry configuration from HKCU\Software\Riverblade\Visual Lint or screenshots of your options pages).
- Details of any project or solution specific analysis settings you may be using (these are stored in .vlconfig files)
- A copy of the status text recorded by Visual Lint in the "Visual Lint Status" pane of the Output/Console Window (Visual Studio and Eclipse plug-ins respectively) or "Status View" (VisualLintGui).
How do I perform a silent installation of Visual Lint?Silent installations are fully supported in Visual Lint. To perform a silent installation the following command line can be used:
VisualLintSetup /s LICENCE_USER=<Licenced User> LICENCE_KEY=<Licence Key> /l=<logfile pathname>
LICENCE_KEYare optional, and should be used if you need to install a licence key at the same time as the installation. Similarly, to uninstall use:
VisualLintSetup /s MODIFY=FALSE REMOVE=TRUE UNINSTALL=YES /l=<logfile pathname>
If you require a customised installation (for example to specify the installation folder or a group policy compatible installer) please contact us.