Different warnings for C++ from two different build machines

Hi,

We are using SonarQube developer edition and use it from within Azure Devops to analyse our C++ codebase, and the pipeline yaml calls build-wrapper-win-x86-64.exe

This is working grand and gives us a list of warnings. However, we have since added a new build server which does the same thing (with the same version of build wrapper and so on) however it generates more warnings!

I have installed SonarLint for Visual Studio, and interestingly both SonarLint and the new build server give the same warnings, which make me wonder if the old build machine was somehow misconfigured.

What would be the best course of action here to find out what the differences are? As far as I can tell we are using the same version of Visual Studio, build wrapper etc.

Many thanks!

Dave

Hi Dave,

Welcome to the community!

Are the libraries exactly the same on both build machines?

The libraries have an impact on what analysis finds (just as they do on the running of the program!) So a difference in libs could explain this.

 
HTH
Ann