Sonar Scanner for C/C++ files

Hi Team

I am using Sonar-Scanner4.0.0 with SonarQube-Enterprise-Licensed 7.9.3 with PostgreSQL Database

The only way to get an accurate analysis of C/C++/Objective-C files is by using the SonarSource build-wrapper
and setting the property “”, but it was not specified.

Need assistance to fix the below issue? where and how to provide these details

If you don’t want to analyze C/C++/Objective-C files, then prevent them from being analyzed by setting the following properties:



Waiting for your reply , Thank you all in advance

Be safe and healthy

Hi @Prasanna_Mansabdar.

Analyzing C/C++/Objective-C projects requires two steps:

  • First you run your build inside the build-wrapper
  • Then you run sonar-scanner

All properties are set inside the file at the root of your project.

Setting up your analysis for C/C++/Objective-C projects is all explained there:

I invite you to follow these instructions.

Be safe and healthy.