Sonar-scanner a file in langage C

Hi @FredAubert,

I believe that in coding phase it is necessary to compile the code.

Even letting this thing aside, what we recommend is to setup the analysis of the projects at CI level and not run the analysis on developer side while coding.

In order to provide feedback to the developer there are 2 ways:

  • SonarLint: to provide fast feedback to the developer while coding
  • Pull Request Analysis to make sure the code is good before merging it to master branch