Sonarqube in CLion states "Provided compiler is not compatible"

Dear Community

  • Operating system: Windows 10
  • SonarLint plugin version: 10.23.0.81344
  • Programming language you’re coding in: C++
  • Is connected mode used: problem exists in connected and unconnected mode as well
    • Connected to SonarCloud or SonarQube (and which version): SonarQube
    • IDE Version: CLion 2024.3.1

We are have a Sonarqube project which we could create by using a pipeline. It triggers an analysis on Sonarqube whenever we merge a branch into the dev. We use Docker container (Linux) and gcc and CMake.
Whenever, we trigger the analysis using our pipeline, Sonarqube does its job and analysis the project.
However, when we use Sonarqube as a plugin to start an analysis locally within CLion, it states “Provided compiler is not compatible Invalid probe found, skip analysis of files: [/main.cpp]”.
We could set up a connection to Sonarqube, because we can choose our project in a drop down list in CLion and also in the logs it states the correct amount of rules it has in the selected quality profile.

Interestingly, neither in the pipeline nor locally we provide any information about the compiler or similar, since it is all configured within the Dockerfile. This file however is not content within sonarqube analysis, therefore the analysis on the server (triggered by pipeline) should not be aware of the gcc.
Since it is the start of an important project we want to ensure a high quality code from the beginning. Direct feedback to the developer is crucial.
What can cause this problem? Is there anything we need to additonally provide for the analysis?

Here is our pipeline from AzureDevOps:

  - task: sonarsource.sonarqube.SonarQubePrepare@7
    displayName: 'Prepare analysis on SonarQube'
    inputs:
      SonarQube: SonarQube
      scannerMode: CLI
      configMode: manual
      cliProjectKey: 'Firmware_$(FWName)'
      cliProjectName: 'Firmware_$(FWName)'
      cliProjectVersion: 'V$(fullversion)'
      extraProperties: |
        sonar.cfamily.cache.enabled=false
        sonar.cfamily.threads=1
        sonar.sourceEncoding=UTF-8
        sonar.exclusions=<folderName>/**

  - task: sonarsource.sonarqube.SonarQubeAnalyze@7
    displayName: 'Run Code Analysis'
    inputs:
      jdkversion: 'JAVA_HOME'

  - task: sonarsource.sonarqube.SonarQubePublish@7
    displayName: 'Publish Quality Gate Result'

Best regards
Robert

Hi Robert,

Welcome to the community and thanks for this report!

The current version of SonarQube for IntelliJ (formerly SonarLint) is 10.25. Can you upgrade and see if this is still replicable?

 
Thx,
Ann

Hi ganncamp

I updated to Sonarqube 10.26 in CLion and the problem still persists.
Have you got an idea?
I mean my request not a special case or something difficult. I did expect to work this without any issues, since I can not imagine, that our team is the only one who has this desire.

Best regards
Robert

1 Like

Hi Robert,

Thanks for trying the upgrade. Can you post your log? Then I’ll be able to flag it for the experts.

 
Ann

Hi Ann
Thank you for your super fast response :slight_smile:
Here is the log of running the analysis for main.cpp
best regards
Robert

Analysing 'main.cpp' (ID <some_big_number>)...
 [2025-06-25T17:56:41.641] [sonarlint-analysis-scheduler] INFO sonarlint - Starting analysis with configuration: [
  baseDir: C:\Users\Robert\sanbox\git\firmware
  extraProperties: {sonar.updatecenter.cache.ttl=3600000, sonaranalyzer-cs.nuget.packageVersion=10.4.1.110446, sonaranalyzer.security.cs.pluginVersion=10.11.1.35426, sonar.auth.bitbucket.allowUsersToSignUp=true, sonar.cs.ignoreHeaderComments=true, sonar.c.file.suffixes=.c,.h, sonar.typescript.file.suffixes=.ts,.tsx,.cts,.mts, sonar.auth.github.enabled=false, sonar.python.coverage.reportPaths=coverage-reports/*coverage-*.xml, sonaranalyzer-vbnet.nuget.packageVersion=10.4.1.110446, sonar.text.activate=true, sonar.cobol.dialect=ibm-enterprise-cobol, provisioning.gitlab.enabled=false, sonar.go.file.suffixes=.go, sonar.cpd.cobol.minimumLines=30, sonar.cobol.exec.recoveryMode=true, sonar.cs.analyzeRazorCode=true, sonar.auth.saml.applicationId=https://sonarqube.<our_company>.com/saml, sonar.python.xunit.skipDetails=false, sonar.ipynb.file.suffixes=ipynb, sonar.dbcleaner.weeksBeforeKeepingOnlyAnalysesWithVersion=104, sonar.plsql.jdbc.driver.class=oracle.jdbc.OracleDriver, sonar.qualitygate.ignoreSmallChanges=true, sonar.auth.saml.signature.enabled=false, sonar.autodetect.ai.code=true, sonar.go.exclusions=**/vendor/**, sonar.php.exclusions=**/vendor/**, sonar.js.internal.bundlePath=C:\Users\Robert\AppData\Roaming\JetBrains\CLion2024.3\plugins\sonarlint-intellij\plugins\eslint-bridge, sonar.terraform.file.suffixes=.tf, sonar.forceAuthentication=true, sonar.announcement.displayMessage=false, sonar.notifications.delay=60, sonar.cpp.file.suffixes=.cc,.cpp,.cxx,.c++,.hh,.hpp,.hxx,.h++,.ipp,.ixx,.mxx,.cppm,.ccm,.cxxm,.c++m, sonar.swift.file.suffixes=.swift, sonar.vbnet.roslyn.ignoreIssues=false, sonar.plsql.ignoreHeaderComments=false, sonar.flex.file.suffixes=as, sonar.multi-quality-mode.enabled=false, sonar.jcl.file.suffixes=.jcl, sonaranalyzer.security.cs.nuget.packageVersion=10.11.1.35426, sonar.filesize.limit=20, sonar.auth.gitlab.groupsSync=false, sonar.auth.github.apiUrl=https://api.github.com/, sonar.ruby.file.suffixes=.rb, sonaranalyzer-cs.ruleNamespace=SonarAnalyzer.Enterprise.CSharp, sonar.auth.github.allowUsersToSignUp=true, sonar.pli.extralingualCharacters=#@$, sonar.cs.analyzeGeneratedCode=false, sonar.azureresourcemanager.file.identifier=https://schema.management.azure.com/schemas/,http://schema.management.azure.com/schemas/, sonar.python.xunit.reportPath=xunit-reports/xunit-result-*.xml, sonar.java.jvmframeworkconfig.file.patterns=**/src/main/resources/**/*app*.properties,**/src/main/resources/**/*app*.yaml,**/src/main/resources/**/*app*.yml, sonar.pli.marginLeft=2, sonar.builtInQualityProfiles.disableNotificationOnUpdate=false, sonar.javascript.globals=angular,goog,google,OpenLayers,d3,dojo,dojox,dijit,Backbone,moment,casper,_,sap, sonar.dbcleaner.auditHousekeeping=Monthly, sonar.cfamily.build-wrapper-content={"version":0,"captures":[{"compiler":"clang","cwd":"C:\\Users\\Robert\\sanbox\\git\\firmware\\cmake-build-debug\\.","executable":"C:\\usr\\bin\\c++","properties":{"includeDirs":"","sonarLanguage":"cpp","preprocessorDefines":"\n","frameworkDirs":""},"cmd":["C:\\usr\\bin\\c++","C:/Users/Robert/sanbox/git/firmware/app/src/main.cpp","-DSTM32H573xx","-DUSE_HAL_DRIVER","-DUSE_NUCLEO_64","-I/tmp/firmware/modules/bsp_<mcu>/include","-I/tmp/firmware/modules/mod_mainlers/services","-I/tmp/firmware/modules/mod_mainlers/drivers/<motion_control_chip>s/include","-I/tmp/firmware/modules/mod_mainlers/drivers/ti/include","-I/tmp/firmware/app/config","-I/tmp/firmware/modules/<RTOS>_cpp11-master/<RTOS>/cpp11_gcc","-I/tmp/firmware/modules/<our_stack_provider>tcp/<our_stack_provider>_tcp","-I/tmp/firmware/modules/<our_stack_provider>tcp/common","-I/tmp/firmware/modules/<our_stack_provider>tcp/<our_stack_provider>_tcp/drivers/mac","-I/tmp/firmware/modules/<our_stack_provider>tcp/cyclone_tcp/drivers/phy","-I/tmp/firmware/app/config/dk_32h573","-I/tmp/firmware/modules/bsp_<mcu>/sdk/Inc","-I/tmp/firmware/modules/bsp_<mcu>/sdk/Inc/Legacy","-I/tmp/firmware/modules/bsp_<mcu>/include/<mcu>_parts","-I/tmp/firmware/modules/bsp_<mcu>/include/<our_company>_wrapper","-I/tmp/firmware/modules/bsp_<mcu>/sdk/CMSIS/Include","-I/tmp/firmware/modules/mod_mainlers/LIBRARY_INCLUDES","-I/tmp/firmware/modules/mod_mainlers/modules/bsp_interface_concepts/interfaces","-I/tmp/firmware/modules/mod_mainlers/modules/bsp_interface_concepts/mock_interfaces","-I/tmp/firmware/modules/<RTOS>-KernelV11.2.0/include/.","-I/tmp/firmware/modules/<RTOS>-KernelV11.2.0/portable/GCC/ARM_CM33_NTZ/non_secure","-mcpu=cortex-m33","-mfpu=fpv5-d16","-mfloat-abi=hard","--specs=nano.specs","-mthumb","-Wall","-D_GLIBCXX_HAS_GTHREADS=1","-g","-std=gnu++23","-fdiagnostics-color=always","-mcpu=cortex-m33","-mfpu=fpv5-d16","-mfloat-abi=hard","-mthumb"]}]}, sonar.dbcleaner.hoursBeforeKeepingOnlyOneSnapshotByDay=24, sonar.yaml.file.suffixes=.yaml,.yml, sonar.dbcleaner.daysBeforeDeletingInactiveBranchesAndPRs=21, sonar.auth.bitbucket.enabled=false, sonar.terraform.activate=true, sonar.css.file.suffixes=.css,.less,.scss,.sass, sonar.cpd.abap.minimumTokens=100, sonar.docker.file.patterns=Dockerfile,*.dockerfile, sonar.auth.github.webUrl=https://github.com/, sonar.dbcleaner.branchesToKeepWhenInactive=main,master,develop,trunk, sonar.ce.parallelProjectTasks=true, sonar.html.file.suffixes=.html,.xhtml,.cshtml,.vbhtml,.aspx,.ascx,.rhtml,.erb,.shtm,.shtml,.cmp,.twig, sonaranalyzer-vbnet.nuget.packageId=SonarAnalyzer.Enterprise.VisualBasic, sonar.php.frameworkDetection=true, sonar.auth.gitlab.enabled=false, sonar.vb.file.suffixes=.bas,.frm,.ctl, sonar.cpd.cross_project=false, sonar.cs.analyzer.dotnet.pluginVersion=10.4.1.110446, sonaranalyzer-vbnet.pluginVersion=10.4.1.110446, sonar.vbnet.ignoreHeaderComments=true, sonar.rpg.leftMarginWidth=12, sonaranalyzer.security.cs.analyzerId=SonarAnalyzer.Security, sonaranalyzer.security.cs.nuget.packageId=SonarAnalyzer.Security, sonar.auth.github.groupsSync=false, sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByWeek=4, sonar.vbnet.analyzer.dotnet.pluginKey=vbnetenterprise, sonaranalyzer-vbnet.analyzerId=SonarAnalyzer.Enterprise.VisualBasic, sonar.scala.file.suffixes=.scala, sonar.cs.roslyn.ignoreIssues=false, sonar.cobol.byteBasedColumnCount=false, sonar.governance.report.project.branch.frequency=Monthly, sonar.cloudformation.activate=true, sonar.auth.token.max.allowed.lifetime=No expiration, sonar.pli.marginRight=72, sonaranalyzer-cs.pluginKey=csharpenterprise, sonar.kubernetes.activate=true, sonar.cpd.cobol.minimumTokens=100, sonar.java.ignoreUnnamedModuleForSplitPackage=False, sonar.vbnet.analyzer.dotnet.staticResourceName=SonarAnalyzer-vbnetenterprise-10.4.1.110446.zip, sonar.auth.saml.user.login=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, sonar.json.file.suffixes=.json, sonaranalyzer.security.cs.pluginKey=securitycsharpfrontend, sonar.vb.ignoreHeaderComments=true, sonar.apex.file.suffixes=.cls,.trigger, sonaranalyzer-vbnet.ruleNamespace=SonarAnalyzer.Enterprise.VisualBasic, sonar.cloudformation.file.identifier=AWSTemplateFormatVersion, sonar.auth.saml.providerName=SAML, provisioning.github.project.visibility.enabled=true, sonar.dbcleaner.daysBeforeDeletingAnticipatedTransitions=30, sonar.javascript.ignoreHeaderComments=true, sonar.dbcleaner.daysBeforeDeletingClosedIssues=1, sonar.java.enablePreview=False, sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByMonth=52, sonar.lf.gravatarServerUrl=https://secure.gravatar.com/avatar/{EMAIL_MD5}.jpg?s={SIZE}&d=identicon, sonar.core.serverBaseURL=https://sonarqube.tecan.com/, sonar.objc.file.suffixes=.m, sonar.ruby.coverage.reportPaths=coverage/.resultset.json, sonar.text.inclusions=**/*.sh,**/*.bash,**/*.zsh,**/*.ksh,**/*.ps1,**/*.properties,**/*.conf,**/*.pem,**/*.config,.env,.aws/config, sonar.governance.report.view.frequency=Monthly, sonar.cobol.sourceFormat=fixed, sonar.test.exclusions=**/*Tests/**,**/*Fixture.cs,**/*Tests.cs,**/*Test*/**,**/*IntegrationTests*/**, sonar.qualityProfiles.allowDisableInheritedRules=false, sonaranalyzer-cs.staticResourceName=SonarAnalyzer-csharpenterprise-10.4.1.110446.zip, sonar.auth.saml.providerId=https://sts.windows.net/07b51f22-9b60-4bef-a5d6-671d2b4ff8fc/, sonar.auth.saml.user.email=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, sonar.notifications.runningDelayBeforeReportingStatus=600, sonar.auth.gitlab.allowUsersToSignUp=true, sonar.projectCreation.mainBranchName=refs/heads/develop, sonar.cpd.cobol.ignoreLiteral=true, sonar.jsp.file.suffixes=.jsp,.jspf,.jspx, sonar.pli.ignoreHeaderComments=true, sonar.cs.analyzer.dotnet.staticResourceName=SonarAnalyzer-csharpenterprise-10.4.1.110446.zip, sonar.javascript.maxFileSize=1000, sonaranalyzer-cs.nuget.packageId=SonarAnalyzer.Enterprise.CSharp, sonar.javascript.environments=amd,applescript,atomtest,browser,commonjs,embertest,greasemonkey,jasmine,jest,jquery,meteor,mocha,mongo,nashorn,node,phantomjs,prototypejs,protractor,qunit,serviceworker,shared-node-browser,shelljs,webextensions,worker, sonar.authenticator.downcase=false, sonar.scm.disabled=false, sonar.ruby.exclusions=**/vendor/**, sonar.dart.file.suffixes=.dart, sonar.ansible.activate=true, sonar.auth.saml.enabled=true, sonar.pdf.confidential.header.enabled=true, sonar.vbnet.file.suffixes=.vb, sonaranalyzer-cs.analyzerId=SonarAnalyzer.Enterprise.CSharp, sonar.rpg.file.suffixes=.rpg,.rpgle,.sqlrpgle,.RPG,.RPGLE,.SQLRPGLE, sonar.core.id=9953C7D2-AXR4PWfIdRVPQiC7xVbR, sonar.exclusions=**/*.xsd,**/*AssemblyInfo.cs,**/*AssemblyInfo.cpp,**/CodeCoverageReport*/**/*.*, sonar.cs.analyzer.dotnet.pluginKey=csharpenterprise, sonar.cfamily.generateComputedConfig=false, sonar.cobol.adaprep.activation=false, sonar.abap.file.suffixes=.abap,.ab4,.flow,.asprog, sonar.global.exclusions=**/*.xsd,**/*AssemblyInfo.cs,**/*AssemblyInfo.cpp,**/CodeCoverageReport*/**/*.*, sonar.cfamily.ignoreHeaderComments=true, sonar.technicalDebt.ratingGrid=0.01,0.025,0.03,0.035, sonar.vbnet.analyzer.dotnet.pluginVersion=10.4.1.110446, sonar.technicalDebt.developmentCost=30, sonar.lf.enableGravatar=false, sonar.validateWebhooks=true, sonar.docker.activate=true, sonar.python.file.suffixes=py, sonaranalyzer-cs.pluginVersion=10.4.1.110446, sonaranalyzer.security.cs.staticResourceName=SonarAnalyzer.Security-10.11.1.35426.zip, sonar.auth.saml.loginUrl=https://login.microsoftonline.com/07b51f22-9b60-4bef-a5d6-671d2b4ff8fc/saml2, sonar.cs.file.suffixes=.cs,.razor, sonar.developerAggregatedInfo.disabled=false, sonar.plsql.file.suffixes=sql,pks,pkb, sonaranalyzer.security.cs.ruleNamespace=SonarAnalyzer.Security, sonar.plugins.downloadOnlyRequired=true, sonar.azureresourcemanager.file.suffixes=.bicep, sonar.javascript.file.suffixes=.js,.jsx,.cjs,.mjs,.vue, sonar.cpd.abap.minimumLines=20, sonar.auth.saml.user.name=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name, sonar.cobol.tab.width=8, sonar.allowPermissionManagementForProjectAdmins=true, sonaranalyzer-vbnet.staticResourceName=SonarAnalyzer-vbnetenterprise-10.4.1.110446.zip, sonar.text.inclusions.activate=true, sonar.vbnet.analyzeGeneratedCode=false, sonar.pli.file.suffixes=.pli, sonar.java.file.suffixes=.java,.jav, sonar.kotlin.file.suffixes=.kt,.kts, sonar.plugins.risk.consent=NOT_ACCEPTED, sonar.php.file.suffixes=php,php3,php4,php5,phtml,inc, sonar.auth.gitlab.url=https://gitlab.com, sonar.scanner.skipNodeProvisioning=false, sonar.xml.file.suffixes=.xml,.xsd,.xsl,.config, sonar.dbcleaner.weeksBeforeDeletingAllSnapshots=260, sonaranalyzer-vbnet.pluginKey=vbnetenterprise, sonar.azureresourcemanager.activate=true, sonar.java.jvmframeworkconfig.activate=true, sonar.updatecenter.url=https://downloads.sonarsource.com/sonarqube/update/update-center.properties, sonar.tsql.file.suffixes=.tsql, sonar.core.startTime=2025-06-17T07:34:12+0000}
  activeRules: [448 cpp, 208 c, 121 secrets, 16 ansible, 132 plsql]
  inputFiles: [
    file:///C:/Users/Robert/sanbox/git/firmware/app/src/main.cpp (UTF-8) [cpp]
  ]
]

 [2025-06-25T17:56:41.901] [sonarlint-analysis-scheduler] INFO sonarlint - Index files
 [2025-06-25T17:56:41.901] [Report about progress of file indexation] INFO sonarlint - 1 file indexed
 [2025-06-25T17:56:41.91] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Available processors: 16
 [2025-06-25T17:56:41.91] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Using 16 threads for analysis.
 [2025-06-25T17:56:41.956] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Analyzing all except non binary files
 [2025-06-25T17:56:41.958] [Progress of the text and secrets analysis] INFO org.sonar.plugins.common.MultiFileProgressReport - 1 source file to be analyzed
 [2025-06-25T17:56:41.979] [Progress of the text and secrets analysis] INFO org.sonar.plugins.common.MultiFileProgressReport - 1/1 source file has been analyzed
 [2025-06-25T17:56:41.985] [sonarlint-analysis-scheduler] WARN com.sonar.cpp.analyzer.ClangDriver - Provided compiler is not compatible.
Invalid probe found, skip analysis of files: [C:/Users/Robert/sanbox/git/firmware/app/src/main.cpp]
The compiler probe 'stdout' is expected to contain at least one'#define' directive:

 [2025-06-25T17:56:41.985] [sonarlint-analysis-scheduler] INFO com.sonar.cpp.plugin.SonarLintSensor - Analysis done in: 5ms
 [2025-06-25T17:56:41.985] [sonarlint-analysis-scheduler] INFO com.sonar.cpp.plugin.SonarLintSensor - 0 compilation units analyzed
 [2025-06-25T17:56:41.986] [sonarlint-analysis-scheduler] INFO sonarlint - Analysis detected 0 issues and 0 Security Hotspots in 345ms

Hi Robert,

Thanks for the log. I’ve flagged this for the team.

 
Ann

Hi @robert1, had you enabled Analysis logs and Verbose output for fetching the logs, these logs seem to be not verbose. Could you share the full logs with those enabled?

Hi Eray
no I haven’t. I hope, there are some more information.
best regards
Robert

Trigger: CURRENT_FILE_ACTION
[CURRENT_FILE_ACTION] 1 file(s) submitted
Configuring analysis with org.sonarlint.intellij.clion.resharper.CFamilyAnalysisConfigurator
Running CFamily analysis configurator for Resharper
Analysing 'main.cpp' (ID <ID>)...
 [2025-06-26T15:34:06.146] [SonarLint Server RPC request executor] DEBUG sonarlint - Post: SonarLint Server RPC request executor 232
 [2025-06-26T15:34:06.146] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command from Scheduler: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@55b95b77
 [2025-06-26T15:34:06.146] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command from Scheduler to queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@55b95b77
 [2025-06-26T15:34:06.146] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command in analysis queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@55b95b77, new size is 1
 [2025-06-26T15:34:06.146] [sonarlint-analysis-scheduler] DEBUG sonarlint - Picked command from the queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@55b95b77, 0 remaining
 [2025-06-26T15:34:06.149] [sonarlint-analysis-scheduler] DEBUG sonarlint -   * cpp: 450 active rules
 [2025-06-26T15:34:06.151] [sonarlint-analysis-scheduler] DEBUG sonarlint - The following rules are enabled on the server, but not available in SonarLint: [cpp:S5527, cpp:S4830]
 [2025-06-26T15:34:06.151] [sonarlint-analysis-scheduler] DEBUG sonarlint -   * c: 210 active rules
 [2025-06-26T15:34:06.152] [sonarlint-analysis-scheduler] DEBUG sonarlint - The following rules are enabled on the server, but not available in SonarLint: [c:S4830, c:S5527]
 [2025-06-26T15:34:06.152] [sonarlint-analysis-scheduler] DEBUG sonarlint -   * secrets: 121 active rules
 [2025-06-26T15:34:06.152] [sonarlint-analysis-scheduler] DEBUG sonarlint -   * ansible: 16 active rules
 [2025-06-26T15:34:06.153] [sonarlint-analysis-scheduler] DEBUG sonarlint -   * plsql: 132 active rules
 [2025-06-26T15:34:06.155] [sonarlint-analysis-scheduler] INFO sonarlint - Starting analysis with configuration: [
  baseDir: C:\Users\Robert\sanbox\git\app_motion_control
  extraProperties: {sonar.updatecenter.cache.ttl=3600000, sonaranalyzer-cs.nuget.packageVersion=10.4.1.110446, sonaranalyzer.security.cs.pluginVersion=10.11.1.35426, sonar.auth.bitbucket.allowUsersToSignUp=true, sonar.cs.ignoreHeaderComments=true, sonar.c.file.suffixes=.c,.h, sonar.typescript.file.suffixes=.ts,.tsx,.cts,.mts, sonar.auth.github.enabled=false, sonar.python.coverage.reportPaths=coverage-reports/*coverage-*.xml, sonaranalyzer-vbnet.nuget.packageVersion=10.4.1.110446, sonar.text.activate=true, sonar.cobol.dialect=ibm-enterprise-cobol, provisioning.gitlab.enabled=false, sonar.go.file.suffixes=.go, sonar.cpd.cobol.minimumLines=30, sonar.cobol.exec.recoveryMode=true, sonar.cs.analyzeRazorCode=true, sonar.auth.saml.applicationId=https://sonarqube.<our_company>.com/saml, sonar.python.xunit.skipDetails=false, sonar.ipynb.file.suffixes=ipynb, sonar.dbcleaner.weeksBeforeKeepingOnlyAnalysesWithVersion=104, sonar.plsql.jdbc.driver.class=oracle.jdbc.OracleDriver, sonar.qualitygate.ignoreSmallChanges=true, sonar.auth.saml.signature.enabled=false, sonar.autodetect.ai.code=true, sonar.go.exclusions=**/vendor/**, sonar.php.exclusions=**/vendor/**, sonar.js.internal.bundlePath=C:\Users\Robert\AppData\Roaming\JetBrains\CLion2024.3\plugins\sonarlint-intellij\plugins\eslint-bridge, sonar.terraform.file.suffixes=.tf, sonar.forceAuthentication=true, sonar.announcement.displayMessage=false, sonar.notifications.delay=60, sonar.cpp.file.suffixes=.cc,.cpp,.cxx,.c++,.hh,.hpp,.hxx,.h++,.ipp,.ixx,.mxx,.cppm,.ccm,.cxxm,.c++m, sonar.swift.file.suffixes=.swift, sonar.vbnet.roslyn.ignoreIssues=false, sonar.plsql.ignoreHeaderComments=false, sonar.flex.file.suffixes=as, sonar.multi-quality-mode.enabled=false, sonar.jcl.file.suffixes=.jcl, sonaranalyzer.security.cs.nuget.packageVersion=10.11.1.35426, sonar.filesize.limit=20, sonar.auth.gitlab.groupsSync=false, sonar.auth.github.apiUrl=https://api.github.com/, sonar.ruby.file.suffixes=.rb, sonaranalyzer-cs.ruleNamespace=SonarAnalyzer.Enterprise.CSharp, sonar.auth.github.allowUsersToSignUp=true, sonar.pli.extralingualCharacters=#@$, sonar.cs.analyzeGeneratedCode=false, sonar.azureresourcemanager.file.identifier=https://schema.management.azure.com/schemas/,http://schema.management.azure.com/schemas/, sonar.python.xunit.reportPath=xunit-reports/xunit-result-*.xml, sonar.java.jvmframeworkconfig.file.patterns=**/src/main/resources/**/*app*.properties,**/src/main/resources/**/*app*.yaml,**/src/main/resources/**/*app*.yml, sonar.pli.marginLeft=2, sonar.builtInQualityProfiles.disableNotificationOnUpdate=false, sonar.javascript.globals=angular,goog,google,OpenLayers,d3,dojo,dojox,dijit,Backbone,moment,casper,_,sap, sonar.dbcleaner.auditHousekeeping=Monthly, sonar.cfamily.build-wrapper-content={"version":0,"captures":[{"compiler":"clang","cwd":"C:\\Users\\Robert\\sanbox\\git\\app_motion_control\\cmake-build-debug\\.","executable":"C:\\usr\\bin\\c++","properties":{"includeDirs":"","sonarLanguage":"cpp","preprocessorDefines":"\n","frameworkDirs":""},"cmd":["C:\\usr\\bin\\c++","C:/Users/Robert/sanbox/git/app_motion_control/app/src/main.cpp","-DSTM32H573xx","-DUSE_HAL_DRIVER","-DUSE_NUCLEO_64","-I/tmp/app_motion_control/modules/bsp_stm32h5/include","-I/tmp/app_motion_control/modules/mod_motion_controllers/services","-I/tmp/app_motion_control/modules/mod_motion_controllers/drivers/trinamics/include","-I/tmp/app_motion_control/modules/mod_motion_controllers/drivers/ti/include","-I/tmp/app_motion_control/app/config","-I/tmp/app_motion_control/modules/<our_RTOS>_cpp11-master/<our_RTOS>/cpp11_gcc","-I/tmp/app_motion_control/modules/cyclonetcp/cyclone_tcp","-I/tmp/app_motion_control/modules/cyclonetcp/common","-I/tmp/app_motion_control/modules/cyclonetcp/cyclone_tcp/drivers/mac","-I/tmp/app_motion_control/modules/cyclonetcp/cyclone_tcp/drivers/phy","-I/tmp/app_motion_control/app/config/dk_32h573","-I/tmp/app_motion_control/modules/bsp_stm32h5/sdk/Inc","-I/tmp/app_motion_control/modules/bsp_stm32h5/sdk/Inc/Legacy","-I/tmp/app_motion_control/modules/bsp_stm32h5/include/stm32h5_parts","-I/tmp/app_motion_control/modules/bsp_stm32h5/include/<our_company>_wrapper","-I/tmp/app_motion_control/modules/bsp_stm32h5/sdk/CMSIS/Include","-I/tmp/app_motion_control/modules/mod_motion_controllers/LIBRARY_INCLUDES","-I/tmp/app_motion_control/modules/mod_motion_controllers/modules/bsp_interface_concepts/interfaces","-I/tmp/app_motion_control/modules/mod_motion_controllers/modules/bsp_interface_concepts/mock_interfaces","-I/tmp/app_motion_control/modules/FreeRTOS-KernelV11.2.0/include/.","-I/tmp/app_motion_control/modules/FreeRTOS-KernelV11.2.0/portable/GCC/ARM_CM33_NTZ/non_secure","-mcpu=cortex-m33","-mfpu=fpv5-d16","-mfloat-abi=hard","--specs=nano.specs","-mthumb","-Wall","-D_GLIBCXX_HAS_GTHREADS=1","-g","-std=gnu++23","-fdiagnostics-color=always","-mcpu=cortex-m33","-mfpu=fpv5-d16","-mfloat-abi=hard","-mthumb"]}]}, sonar.dbcleaner.hoursBeforeKeepingOnlyOneSnapshotByDay=24, sonar.yaml.file.suffixes=.yaml,.yml, sonar.dbcleaner.daysBeforeDeletingInactiveBranchesAndPRs=21, sonar.auth.bitbucket.enabled=false, sonar.terraform.activate=true, sonar.css.file.suffixes=.css,.less,.scss,.sass, sonar.cpd.abap.minimumTokens=100, sonar.docker.file.patterns=Dockerfile,*.dockerfile, sonar.auth.github.webUrl=https://github.com/, sonar.dbcleaner.branchesToKeepWhenInactive=main,master,develop,trunk, sonar.ce.parallelProjectTasks=true, sonar.html.file.suffixes=.html,.xhtml,.cshtml,.vbhtml,.aspx,.ascx,.rhtml,.erb,.shtm,.shtml,.cmp,.twig, sonaranalyzer-vbnet.nuget.packageId=SonarAnalyzer.Enterprise.VisualBasic, sonar.php.frameworkDetection=true, sonar.auth.gitlab.enabled=false, sonar.vb.file.suffixes=.bas,.frm,.ctl, sonar.cpd.cross_project=false, sonar.cs.analyzer.dotnet.pluginVersion=10.4.1.110446, sonaranalyzer-vbnet.pluginVersion=10.4.1.110446, sonar.vbnet.ignoreHeaderComments=true, sonar.rpg.leftMarginWidth=12, sonaranalyzer.security.cs.analyzerId=SonarAnalyzer.Security, sonaranalyzer.security.cs.nuget.packageId=SonarAnalyzer.Security, sonar.auth.github.groupsSync=false, sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByWeek=4, sonar.vbnet.analyzer.dotnet.pluginKey=vbnetenterprise, sonaranalyzer-vbnet.analyzerId=SonarAnalyzer.Enterprise.VisualBasic, sonar.scala.file.suffixes=.scala, sonar.cs.roslyn.ignoreIssues=false, sonar.cobol.byteBasedColumnCount=false, sonar.governance.report.project.branch.frequency=Monthly, sonar.cloudformation.activate=true, sonar.auth.token.max.allowed.lifetime=No expiration, sonar.pli.marginRight=72, sonaranalyzer-cs.pluginKey=csharpenterprise, sonar.kubernetes.activate=true, sonar.cpd.cobol.minimumTokens=100, sonar.java.ignoreUnnamedModuleForSplitPackage=False, sonar.vbnet.analyzer.dotnet.staticResourceName=SonarAnalyzer-vbnetenterprise-10.4.1.110446.zip, sonar.auth.saml.user.login=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, sonar.json.file.suffixes=.json, sonaranalyzer.security.cs.pluginKey=securitycsharpfrontend, sonar.vb.ignoreHeaderComments=true, sonar.apex.file.suffixes=.cls,.trigger, sonaranalyzer-vbnet.ruleNamespace=SonarAnalyzer.Enterprise.VisualBasic, sonar.cloudformation.file.identifier=AWSTemplateFormatVersion, sonar.auth.saml.providerName=SAML, provisioning.github.project.visibility.enabled=true, sonar.dbcleaner.daysBeforeDeletingAnticipatedTransitions=30, sonar.javascript.ignoreHeaderComments=true, sonar.dbcleaner.daysBeforeDeletingClosedIssues=1, sonar.java.enablePreview=False, sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByMonth=52, sonar.lf.gravatarServerUrl=https://secure.gravatar.com/avatar/{EMAIL_MD5}.jpg?s={SIZE}&d=identicon, sonar.core.serverBaseURL=https://sonarqube.<our_company>.com/, sonar.objc.file.suffixes=.m, sonar.ruby.coverage.reportPaths=coverage/.resultset.json, sonar.text.inclusions=**/*.sh,**/*.bash,**/*.zsh,**/*.ksh,**/*.ps1,**/*.properties,**/*.conf,**/*.pem,**/*.config,.env,.aws/config, sonar.governance.report.view.frequency=Monthly, sonar.cobol.sourceFormat=fixed, sonar.test.exclusions=**/*Tests/**,**/*Fixture.cs,**/*Tests.cs,**/*Test*/**,**/*IntegrationTests*/**, sonar.qualityProfiles.allowDisableInheritedRules=false, sonaranalyzer-cs.staticResourceName=SonarAnalyzer-csharpenterprise-10.4.1.110446.zip, sonar.auth.saml.providerId=https://sts.windows.net/07b51f22-9b60-4bef-a5d6-671d2b4ff8fc/, sonar.auth.saml.user.email=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, sonar.notifications.runningDelayBeforeReportingStatus=600, sonar.auth.gitlab.allowUsersToSignUp=true, sonar.projectCreation.mainBranchName=refs/heads/develop, sonar.cpd.cobol.ignoreLiteral=true, sonar.jsp.file.suffixes=.jsp,.jspf,.jspx, sonar.pli.ignoreHeaderComments=true, sonar.cs.analyzer.dotnet.staticResourceName=SonarAnalyzer-csharpenterprise-10.4.1.110446.zip, sonar.javascript.maxFileSize=1000, sonaranalyzer-cs.nuget.packageId=SonarAnalyzer.Enterprise.CSharp, sonar.javascript.environments=amd,applescript,atomtest,browser,commonjs,embertest,greasemonkey,jasmine,jest,jquery,meteor,mocha,mongo,nashorn,node,phantomjs,prototypejs,protractor,qunit,serviceworker,shared-node-browser,shelljs,webextensions,worker, sonar.authenticator.downcase=false, sonar.scm.disabled=false, sonar.ruby.exclusions=**/vendor/**, sonar.dart.file.suffixes=.dart, sonar.ansible.activate=true, sonar.auth.saml.enabled=true, sonar.pdf.confidential.header.enabled=true, sonar.vbnet.file.suffixes=.vb, sonaranalyzer-cs.analyzerId=SonarAnalyzer.Enterprise.CSharp, sonar.rpg.file.suffixes=.rpg,.rpgle,.sqlrpgle,.RPG,.RPGLE,.SQLRPGLE, sonar.core.id=9953C7D2-AXR4PWfIdRVPQiC7xVbR, sonar.exclusions=**/*.xsd,**/*AssemblyInfo.cs,**/*AssemblyInfo.cpp,**/CodeCoverageReport*/**/*.*, sonar.cs.analyzer.dotnet.pluginKey=csharpenterprise, sonar.cfamily.generateComputedConfig=false, sonar.cobol.adaprep.activation=false, sonar.abap.file.suffixes=.abap,.ab4,.flow,.asprog, sonar.global.exclusions=**/*.xsd,**/*AssemblyInfo.cs,**/*AssemblyInfo.cpp,**/CodeCoverageReport*/**/*.*, sonar.cfamily.ignoreHeaderComments=true, sonar.technicalDebt.ratingGrid=0.01,0.025,0.03,0.035, sonar.vbnet.analyzer.dotnet.pluginVersion=10.4.1.110446, sonar.technicalDebt.developmentCost=30, sonar.lf.enableGravatar=false, sonar.validateWebhooks=true, sonar.docker.activate=true, sonar.python.file.suffixes=py, sonaranalyzer-cs.pluginVersion=10.4.1.110446, sonaranalyzer.security.cs.staticResourceName=SonarAnalyzer.Security-10.11.1.35426.zip, sonar.auth.saml.loginUrl=https://login.microsoftonline.com/07b51f22-9b60-4bef-a5d6-671d2b4ff8fc/saml2, sonar.cs.file.suffixes=.cs,.razor, sonar.developerAggregatedInfo.disabled=false, sonar.plsql.file.suffixes=sql,pks,pkb, sonaranalyzer.security.cs.ruleNamespace=SonarAnalyzer.Security, sonar.plugins.downloadOnlyRequired=true, sonar.azureresourcemanager.file.suffixes=.bicep, sonar.javascript.file.suffixes=.js,.jsx,.cjs,.mjs,.vue, sonar.cpd.abap.minimumLines=20, sonar.auth.saml.user.name=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name, sonar.cobol.tab.width=8, sonar.allowPermissionManagementForProjectAdmins=true, sonaranalyzer-vbnet.staticResourceName=SonarAnalyzer-vbnetenterprise-10.4.1.110446.zip, sonar.text.inclusions.activate=true, sonar.vbnet.analyzeGeneratedCode=false, sonar.pli.file.suffixes=.pli, sonar.java.file.suffixes=.java,.jav, sonar.kotlin.file.suffixes=.kt,.kts, sonar.plugins.risk.consent=NOT_ACCEPTED, sonar.php.file.suffixes=php,php3,php4,php5,phtml,inc, sonar.auth.gitlab.url=https://gitlab.com, sonar.scanner.skipNodeProvisioning=false, sonar.xml.file.suffixes=.xml,.xsd,.xsl,.config, sonar.dbcleaner.weeksBeforeDeletingAllSnapshots=260, sonaranalyzer-vbnet.pluginKey=vbnetenterprise, sonar.azureresourcemanager.activate=true, sonar.java.jvmframeworkconfig.activate=true, sonar.updatecenter.url=https://downloads.sonarsource.com/sonarqube/update/update-center.properties, sonar.tsql.file.suffixes=.tsql, sonar.core.startTime=2025-06-17T07:34:12+0000}
  activeRules: [448 cpp, 208 c, 121 secrets, 16 ansible, 132 plsql]
  inputFiles: [
    file:///C:/Users/Robert/sanbox/git/app_motion_control/app/src/main.cpp (UTF-8)
  ]
]

 [2025-06-26T15:34:06.156] [sonarlint-analysis-scheduler] DEBUG sonarlint - Looking for git command in the PATH using where.exe (Windows)
 [2025-06-26T15:34:06.259] [sonarlint-analysis-scheduler] DEBUG sonarlint - Found git.exe at Optional[C:\Program Files\Git\cmd\git.exe]
 [2025-06-26T15:34:06.345] [sonarlint-analysis-scheduler] DEBUG sonarlint - Using native git blame
 [2025-06-26T15:34:06.407] [sonarlint-analysis-scheduler] DEBUG sonarlint - Start analysis
 [2025-06-26T15:34:06.409] [sonarlint-analysis-scheduler] INFO sonarlint - Index files
 [2025-06-26T15:34:06.409] [sonarlint-analysis-scheduler] DEBUG sonarlint - Language of file "file:///C:/Users/Robert/sanbox/git/app_motion_control/app/src/main.cpp" is detected to be "CPP"
 [2025-06-26T15:34:06.409] [Report about progress of file indexation] INFO sonarlint - 1 file indexed
 [2025-06-26T15:34:06.414] [sonarlint-analysis-scheduler] DEBUG sonarlint - 'IaC Ansible Sensor' skipped because there are no related files in the current project
 [2025-06-26T15:34:06.414] [sonarlint-analysis-scheduler] DEBUG sonarlint - 'OmniSharp' skipped because there are no related files in the current project
 [2025-06-26T15:34:06.414] [sonarlint-analysis-scheduler] DEBUG sonarlint - 'PL/SQL Sensor' skipped because there are no related files in the current project
 [2025-06-26T15:34:06.414] [sonarlint-analysis-scheduler] DEBUG sonarlint - Execute Sensor: EnterpriseTextAndSecretsSensor
 [2025-06-26T15:34:06.414] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Available processors: 16
 [2025-06-26T15:34:06.414] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Using 16 threads for analysis.
 [2025-06-26T15:34:06.435] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Analyzing all except non binary files
 [2025-06-26T15:34:06.436] [Progress of the text and secrets analysis] INFO org.sonar.plugins.common.MultiFileProgressReport - 1 source file to be analyzed
 [2025-06-26T15:34:06.452] [Progress of the text and secrets analysis] INFO org.sonar.plugins.common.MultiFileProgressReport - 1/1 source file has been analyzed
 [2025-06-26T15:34:06.453] [sonarlint-analysis-scheduler] DEBUG sonarlint - Execute Sensor: CFamily
 [2025-06-26T15:34:06.457] [sonarlint-analysis-scheduler] WARN com.sonar.cpp.analyzer.ClangDriver - Provided compiler is not compatible.
Invalid probe found, skip analysis of files: [C:/Users/RO112201/sanbox/git/app_motion_control/app/src/main.cpp]
The compiler probe 'stdout' is expected to contain at least one'#define' directive:


 [2025-06-26T15:34:06.457] [sonarlint-analysis-scheduler] INFO com.sonar.cpp.plugin.SonarLintSensor - Analysis done in: 4ms
 [2025-06-26T15:34:06.457] [sonarlint-analysis-scheduler] INFO com.sonar.cpp.plugin.SonarLintSensor - 0 compilation units analyzed
 [2025-06-26T15:34:06.457] [sonarlint-analysis-scheduler] INFO sonarlint - Analysis detected 0 issues and 0 Security Hotspots in 302ms
 [2025-06-26T15:34:06.46] [sonarlint-analysis-scheduler] DEBUG sonarlint - Reporting 1 issues for configuration scope pmotion
Analysis e1318310-f1cc-41b9-a25d-6aa5af4ecfdc finished
 [2025-06-26T15:34:24.175] [Smart Notifications Polling] DEBUG sonarlint - GET 200 https://sonarqube.<our_company>.com/api/developers/search_events?projects=Firmware_pMotion&from=2025-06-26T15%3A33%3A24%2B0200 | response time=34ms
 [2025-06-26T15:34:24.176] [Smart Notifications Polling] DEBUG sonarlint - Storing last event polling in C:\Users\RO112201\AppData\Local\JetBrains\CLion2024.3\sonarlint\storage\706d6f74696f6e\projects\4669726d776172655f704d6f74696f6e\last_event_polling.pb

Hi @robert1 ,

thank you for sharing the analysis output.

If you open main.cpp and launch the CLion action “Show compiler info” what does it show you? Could you please share the output? That is the configuration that we try to use for the analysis.

Also, another question, are you using WSL?

HI Massimo
Sorry for the late response, I did not get an email when you replied.
I hope, this is the information you are looking for.

best regards, Robert

Compiler info for 'main.cpp' in configuration 'mcu | Debug' for language CPP

Compiler kind: GCC path: \usr\bin\c++

Compiler switches:
	-DMCU
	-DUSE_HAL_DRIVER
	-DUSE_NUCLEO_64
	-I/tmp/app_motion_control/modules/bsp_mcu/include
	-I/tmp/app_motion_control/modules/mod_motion_controllers/services
	-I/tmp/app_motion_control/modules/mod_motion_controllers/drivers/motionCtrl/include
	-I/tmp/app_motion_control/modules/mod_motion_controllers/drivers/ti/include
	-I/tmp/app_motion_control/app/config
	-I/tmp/app_motion_control/modules/FreeRTOS_cpp11-master/FreeRTOS/cpp11_gcc
	-I/tmp/app_motion_control/modules/tcp/<manu>_tcp
	-I/tmp/app_motion_control/modules/<manu>tcp/common
	-I/tmp/app_motion_control/modules/stack/<manu>_tcp/drivers/mac
	-I/tmp/app_motion_control/modules/stack/<manu>_tcp/drivers/phy
	-I/tmp/app_motion_control/app/config/mcu
	-I/tmp/app_motion_control/modules/bsp_mcu/sdk/Inc
	-I/tmp/app_motion_control/modules/bsp_mcu/sdk/Inc/Legacy
	-I/tmp/app_motion_control/modules/bsp_mcu/include/stm32h5_parts
	-I/tmp/app_motion_control/modules/bsp_mcu/include/tecan_wrapper
	-I/tmp/app_motion_control/modules/bsp_mcu/sdk/CMSIS/Include
	-I/tmp/app_motion_control/modules/mod_motion_controllers/LIBRARY_INCLUDES
	-I/tmp/app_motion_control/modules/mod_motion_controllers/modules/bsp_interface_concepts/interfaces
	-I/tmp/app_motion_control/modules/mod_motion_controllers/modules/bsp_interface_concepts/mock_interfaces
	-I/tmp/app_motion_control/modules/FreeRTOS-KernelV11.2.0/include/.
	-I/tmp/app_motion_control/modules/FreeRTOS-KernelV11.2.0/portable/GCC/ARM_CM33_NTZ/non_secure
	-mcpu=cortex-m33
	-mfpu=fpv5-d16
	-mfloat-abi=hard
	--specs=nano.specs
	-mthumb
	-Wall
	-D_GLIBCXX_HAS_GTHREADS=1
	-g
	-std=gnu++23
	-fdiagnostics-color=always
	-mcpu=cortex-m33
	-mfpu=fpv5-d16
	-mfloat-abi=hard
	-mthumb

Compiler info:

Defines:

Features:


Implicit includes:


Header Search paths:

Hi Massimo.
Is there any update on this?

Best regards
Robert

Hey @robert1, could you please update to the latest version 10.27.1 of SonarQube for IntelliJ and share the logs, as you previously did?

We added more logs that should help us investigate your issue.

Thanks!

Hi, I was on holiday.
Here are the logs with the corresponding flags enabled.

Best regards
Robert

 [2025-07-16T13:39:47.771] [SonarLint Server RPC request executor] DEBUG sonarlint - Post: SonarLint Server RPC request executor 160
 [2025-07-16T13:39:47.771] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command from Scheduler: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@1dd76fd1
 [2025-07-16T13:39:47.771] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command from Scheduler to queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@1dd76fd1
 [2025-07-16T13:39:47.771] [SonarLint Server RPC request executor] DEBUG sonarlint - Posting command in analysis queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@1dd76fd1, new size is 1
 [2025-07-16T13:39:47.771] [sonarlint-analysis-scheduler] DEBUG sonarlint - Picked command from the queue: org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand@1dd76fd1, 0 remaining
 [2025-07-16T13:39:47.774] [sonarlint-analysis-scheduler] DEBUG sonarlint -   * cpp: 450 active rules
 [2025-07-16T13:39:47.777] [sonarlint-analysis-scheduler] DEBUG sonarlint - The following rules are enabled on the server, but not available in SonarLint: [cpp:S5527, cpp:S4830]
 [2025-07-16T13:39:47.777] [sonarlint-analysis-scheduler] DEBUG sonarlint -   * c: 210 active rules
 [2025-07-16T13:39:47.778] [sonarlint-analysis-scheduler] DEBUG sonarlint - The following rules are enabled on the server, but not available in SonarLint: [c:S4830, c:S5527]
 [2025-07-16T13:39:47.778] [sonarlint-analysis-scheduler] DEBUG sonarlint -   * secrets: 121 active rules
 [2025-07-16T13:39:47.779] [sonarlint-analysis-scheduler] DEBUG sonarlint -   * ansible: 16 active rules
 [2025-07-16T13:39:47.779] [sonarlint-analysis-scheduler] DEBUG sonarlint -   * plsql: 132 active rules
Configuring analysis with org.sonarlint.intellij.clion.resharper.CFamilyAnalysisConfigurator
Running CFamily analysis configurator for Resharper
 [2025-07-16T13:39:47.782] [sonarlint-analysis-scheduler] INFO sonarlint - Starting analysis with configuration: [
  baseDir: C:\Users\<User>\sanbox\git\<application>
  extraProperties: {sonar.updatecenter.cache.ttl=3600000, sonaranalyzer-cs.nuget.packageVersion=10.4.1.110446, sonaranalyzer.security.cs.pluginVersion=10.11.1.35426, sonar.auth.bitbucket.allowUsersToSignUp=true, sonar.cs.ignoreHeaderComments=true, sonar.c.file.suffixes=.c,.h, sonar.typescript.file.suffixes=.ts,.tsx,.cts,.mts, sonar.auth.github.enabled=false, sonar.python.coverage.reportPaths=coverage-reports/*coverage-*.xml, sonaranalyzer-vbnet.nuget.packageVersion=10.4.1.110446, sonar.text.activate=true, sonar.cobol.dialect=ibm-enterprise-cobol, provisioning.gitlab.enabled=false, sonar.go.file.suffixes=.go, sonar.cpd.cobol.minimumLines=30, sonar.cobol.exec.recoveryMode=true, sonar.cs.analyzeRazorCode=true, sonar.auth.saml.applicationId=https://sonarqube.<company>.com/saml, sonar.python.xunit.skipDetails=false, sonar.ipynb.file.suffixes=ipynb, sonar.dbcleaner.weeksBeforeKeepingOnlyAnalysesWithVersion=104, sonar.plsql.jdbc.driver.class=oracle.jdbc.OracleDriver, sonar.qualitygate.ignoreSmallChanges=true, sonar.auth.saml.signature.enabled=false, sonar.autodetect.ai.code=true, sonar.go.exclusions=**/vendor/**, sonar.php.exclusions=**/vendor/**, sonar.js.internal.bundlePath=C:\Users\<User>\AppData\Roaming\JetBrains\CLion2024.3\plugins\sonarlint-intellij\plugins\eslint-bridge, sonar.terraform.file.suffixes=.tf, sonar.forceAuthentication=true, sonar.announcement.displayMessage=false, sonar.notifications.delay=60, sonar.cpp.file.suffixes=.cc,.cpp,.cxx,.c++,.hh,.hpp,.hxx,.h++,.ipp,.ixx,.mxx,.cppm,.ccm,.cxxm,.c++m, sonar.swift.file.suffixes=.swift, sonar.vbnet.roslyn.ignoreIssues=false, sonar.plsql.ignoreHeaderComments=false, sonar.flex.file.suffixes=as, sonar.multi-quality-mode.enabled=false, sonar.jcl.file.suffixes=.jcl, sonaranalyzer.security.cs.nuget.packageVersion=10.11.1.35426, sonar.filesize.limit=20, sonar.auth.gitlab.groupsSync=false, sonar.auth.github.apiUrl=https://api.github.com/, sonar.ruby.file.suffixes=.rb, sonaranalyzer-cs.ruleNamespace=SonarAnalyzer.Enterprise.CSharp, sonar.auth.github.allowUsersToSignUp=true, sonar.pli.extralingualCharacters=#@$, sonar.cs.analyzeGeneratedCode=false, sonar.azureresourcemanager.file.identifier=https://schema.management.azure.com/schemas/,http://schema.management.azure.com/schemas/, sonar.python.xunit.reportPath=xunit-reports/xunit-result-*.xml, sonar.java.jvmframeworkconfig.file.patterns=**/src/main/resources/**/*app*.properties,**/src/main/resources/**/*app*.yaml,**/src/main/resources/**/*app*.yml, sonar.pli.marginLeft=2, sonar.builtInQualityProfiles.disableNotificationOnUpdate=false, sonar.javascript.globals=angular,goog,google,OpenLayers,d3,dojo,dojox,dijit,Backbone,moment,casper,_,sap, sonar.dbcleaner.auditHousekeeping=Monthly, sonar.cfamily.build-wrapper-content={"version":0,"captures":[{"compiler":"clang","cwd":"C:\\Users\\<User>\\sanbox\\git\\<application>\\cmake-build-debug\\.","executable":"C:\\usr\\bin\\c++","properties":{"includeDirs":"","sonarLanguage":"cpp","preprocessorDefines":"\n","frameworkDirs":""},"cmd":["C:\\usr\\bin\\c++","C:/Users/<User>/sanbox/git/<application>/app/src/main.cpp","-D<FLAGMCU>3xx","-DUSE_HAL_DRIVER","-DUSE_NUCLEO_64","-I/tmp/<application>/modules/bsp_<mcu>/include","-I/tmp/<application>/modules/mod_motion_controllers/services","-I/tmp/<application>/modules/mod_motion_controllers/drivers/<motionDriver>s/include","-I/tmp/<application>/modules/mod_motion_controllers/drivers/ti/include","-I/tmp/<application>/app/config","-I/tmp/<application>/modules/FreeRTOS_cpp11-master/FreeRTOS/cpp11_gcc","-I/tmp/<application>/modules/<tcpStack>tcp/<tcpStack>_tcp","-I/tmp/<application>/modules/<tcpStack>tcp/common","-I/tmp/<application>/modules/<tcpStack>tcp/<tcpStack>_tcp/drivers/mac","-I/tmp/<application>/modules/<tcpStack>tcp/<tcpStack>_tcp/drivers/phy","-I/tmp/<application>/app/config/dk_32h573","-I/tmp/<application>/modules/bsp_<mcu>/sdk/Inc","-I/tmp/<application>/modules/bsp_<mcu>/sdk/Inc/Legacy","-I/tmp/<application>/modules/bsp_<mcu>/include/stm32h5_parts","-I/tmp/<application>/modules/bsp_stm32h5/include/<company>_wrapper","-I/tmp/<application>/modules/bsp_stm32h5/sdk/CMSIS/Include","-I/tmp/<application>/modules/mod_motion_controllers/LIBRARY_INCLUDES","-I/tmp/<application>/modules/mod_motion_controllers/modules/bsp_interface_concepts/interfaces","-I/tmp/<application>/modules/mod_motion_controllers/modules/bsp_interface_concepts/mock_interfaces","-I/tmp/<application>/modules/FreeRTOS-KernelV11.2.0/include/.","-I/tmp/<application>/modules/FreeRTOS-KernelV11.2.0/portable/GCC/ARM_CM33_NTZ/non_secure","-mcpu=cortex-m33","-mfpu=fpv5-d16","-mfloat-abi=hard","--specs=nano.specs","-mthumb","-Wall","-D_GLIBCXX_HAS_GTHREADS=1","-g","-std=gnu++23","-fdiagnostics-color=always","-mcpu=cortex-m33","-mfpu=fpv5-d16","-mfloat-abi=hard","-mthumb"]}]}, sonar.dbcleaner.hoursBeforeKeepingOnlyOneSnapshotByDay=24, sonar.yaml.file.suffixes=.yaml,.yml, sonar.dbcleaner.daysBeforeDeletingInactiveBranchesAndPRs=21, sonar.auth.bitbucket.enabled=false, sonar.terraform.activate=true, sonar.css.file.suffixes=.css,.less,.scss,.sass, sonar.cpd.abap.minimumTokens=100, sonar.docker.file.patterns=Dockerfile,*.dockerfile, sonar.auth.github.webUrl=https://github.com/, sonar.dbcleaner.branchesToKeepWhenInactive=main,master,develop,trunk, sonar.ce.parallelProjectTasks=true, sonar.html.file.suffixes=.html,.xhtml,.cshtml,.vbhtml,.aspx,.ascx,.rhtml,.erb,.shtm,.shtml,.cmp,.twig, sonaranalyzer-vbnet.nuget.packageId=SonarAnalyzer.Enterprise.VisualBasic, sonar.php.frameworkDetection=true, sonar.auth.gitlab.enabled=false, sonar.vb.file.suffixes=.bas,.frm,.ctl, sonar.cpd.cross_project=false, sonar.cs.analyzer.dotnet.pluginVersion=10.4.1.110446, sonaranalyzer-vbnet.pluginVersion=10.4.1.110446, sonar.vbnet.ignoreHeaderComments=true, sonar.rpg.leftMarginWidth=12, sonaranalyzer.security.cs.analyzerId=SonarAnalyzer.Security, sonaranalyzer.security.cs.nuget.packageId=SonarAnalyzer.Security, sonar.auth.github.groupsSync=false, sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByWeek=4, sonar.vbnet.analyzer.dotnet.pluginKey=vbnetenterprise, sonaranalyzer-vbnet.analyzerId=SonarAnalyzer.Enterprise.VisualBasic, sonar.scala.file.suffixes=.scala, sonar.cs.roslyn.ignoreIssues=false, sonar.cobol.byteBasedColumnCount=false, sonar.governance.report.project.branch.frequency=Monthly, sonar.cloudformation.activate=true, sonar.auth.token.max.allowed.lifetime=No expiration, sonar.pli.marginRight=72, sonaranalyzer-cs.pluginKey=csharpenterprise, sonar.kubernetes.activate=true, sonar.cpd.cobol.minimumTokens=100, sonar.java.ignoreUnnamedModuleForSplitPackage=False, sonar.vbnet.analyzer.dotnet.staticResourceName=SonarAnalyzer-vbnetenterprise-10.4.1.110446.zip, sonar.auth.saml.user.login=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, sonar.json.file.suffixes=.json, sonaranalyzer.security.cs.pluginKey=securitycsharpfrontend, sonar.vb.ignoreHeaderComments=true, sonar.apex.file.suffixes=.cls,.trigger, sonaranalyzer-vbnet.ruleNamespace=SonarAnalyzer.Enterprise.VisualBasic, sonar.cloudformation.file.identifier=AWSTemplateFormatVersion, sonar.auth.saml.providerName=SAML, provisioning.github.project.visibility.enabled=true, sonar.dbcleaner.daysBeforeDeletingAnticipatedTransitions=30, sonar.javascript.ignoreHeaderComments=true, sonar.dbcleaner.daysBeforeDeletingClosedIssues=1, sonar.java.enablePreview=False, sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByMonth=52, sonar.lf.gravatarServerUrl=https://secure.gravatar.com/avatar/{EMAIL_MD5}.jpg?s={SIZE}&d=identicon, sonar.core.serverBaseURL=https://sonarqube.<company>.com/, sonar.objc.file.suffixes=.m, sonar.ruby.coverage.reportPaths=coverage/.resultset.json, sonar.text.inclusions=**/*.sh,**/*.bash,**/*.zsh,**/*.ksh,**/*.ps1,**/*.properties,**/*.conf,**/*.pem,**/*.config,.env,.aws/config, sonar.governance.report.view.frequency=Monthly, sonar.cobol.sourceFormat=fixed, sonar.test.exclusions=**/*Tests/**,**/*Fixture.cs,**/*Tests.cs,**/*Test*/**,**/*IntegrationTests*/**, sonar.qualityProfiles.allowDisableInheritedRules=false, sonaranalyzer-cs.staticResourceName=SonarAnalyzer-csharpenterprise-10.4.1.110446.zip, sonar.auth.saml.providerId=https://sts.windows.net/07b51f22-9b60-4bef-a5d6-671d2b4ff8fc/, sonar.auth.saml.user.email=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, sonar.notifications.runningDelayBeforeReportingStatus=600, sonar.auth.gitlab.allowUsersToSignUp=true, sonar.projectCreation.mainBranchName=refs/heads/develop, sonar.cpd.cobol.ignoreLiteral=true, sonar.jsp.file.suffixes=.jsp,.jspf,.jspx, sonar.pli.ignoreHeaderComments=true, sonar.cs.analyzer.dotnet.staticResourceName=SonarAnalyzer-csharpenterprise-10.4.1.110446.zip, sonar.javascript.maxFileSize=1000, sonaranalyzer-cs.nuget.packageId=SonarAnalyzer.Enterprise.CSharp, sonar.javascript.environments=amd,applescript,atomtest,browser,commonjs,embertest,greasemonkey,jasmine,jest,jquery,meteor,mocha,mongo,nashorn,node,phantomjs,prototypejs,protractor,qunit,serviceworker,shared-node-browser,shelljs,webextensions,worker, sonar.authenticator.downcase=false, sonar.scm.disabled=false, sonar.ruby.exclusions=**/vendor/**, sonar.dart.file.suffixes=.dart, sonar.ansible.activate=true, sonar.auth.saml.enabled=true, sonar.pdf.confidential.header.enabled=true, sonar.vbnet.file.suffixes=.vb, sonaranalyzer-cs.analyzerId=SonarAnalyzer.Enterprise.CSharp, sonar.rpg.file.suffixes=.rpg,.rpgle,.sqlrpgle,.RPG,.RPGLE,.SQLRPGLE, sonar.core.id=9953C7D2-AXR4PWfIdRVPQiC7xVbR, sonar.exclusions=**/*.xsd,**/*AssemblyInfo.cs,**/*AssemblyInfo.cpp,**/CodeCoverageReport*/**/*.*, sonar.cs.analyzer.dotnet.pluginKey=csharpenterprise, sonar.cfamily.generateComputedConfig=false, sonar.cobol.adaprep.activation=false, sonar.abap.file.suffixes=.abap,.ab4,.flow,.asprog, sonar.global.exclusions=**/*.xsd,**/*AssemblyInfo.cs,**/*AssemblyInfo.cpp,**/CodeCoverageReport*/**/*.*, sonar.cfamily.ignoreHeaderComments=true, sonar.technicalDebt.ratingGrid=0.01,0.025,0.03,0.035, sonar.vbnet.analyzer.dotnet.pluginVersion=10.4.1.110446, sonar.technicalDebt.developmentCost=30, sonar.lf.enableGravatar=false, sonar.validateWebhooks=true, sonar.docker.activate=true, sonar.python.file.suffixes=py, sonaranalyzer-cs.pluginVersion=10.4.1.110446, sonaranalyzer.security.cs.staticResourceName=SonarAnalyzer.Security-10.11.1.35426.zip, sonar.auth.saml.loginUrl=https://login.microsoftonline.com/07b51f22-9b60-4bef-a5d6-671d2b4ff8fc/saml2, sonar.cs.file.suffixes=.cs,.razor, sonar.developerAggregatedInfo.disabled=false, sonar.plsql.file.suffixes=sql,pks,pkb, sonaranalyzer.security.cs.ruleNamespace=SonarAnalyzer.Security, sonar.plugins.downloadOnlyRequired=true, sonar.azureresourcemanager.file.suffixes=.bicep, sonar.javascript.file.suffixes=.js,.jsx,.cjs,.mjs,.vue, sonar.cpd.abap.minimumLines=20, sonar.auth.saml.user.name=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name, sonar.cobol.tab.width=8, sonar.allowPermissionManagementForProjectAdmins=true, sonaranalyzer-vbnet.staticResourceName=SonarAnalyzer-vbnetenterprise-10.4.1.110446.zip, sonar.text.inclusions.activate=true, sonar.vbnet.analyzeGeneratedCode=false, sonar.pli.file.suffixes=.pli, sonar.java.file.suffixes=.java,.jav, sonar.kotlin.file.suffixes=.kt,.kts, sonar.plugins.risk.consent=NOT_ACCEPTED, sonar.php.file.suffixes=php,php3,php4,php5,phtml,inc, sonar.auth.gitlab.url=https://gitlab.com, sonar.scanner.skipNodeProvisioning=false, sonar.xml.file.suffixes=.xml,.xsd,.xsl,.config, sonar.dbcleaner.weeksBeforeDeletingAllSnapshots=260, sonaranalyzer-vbnet.pluginKey=vbnetenterprise, sonar.azureresourcemanager.activate=true, sonar.java.jvmframeworkconfig.activate=true, sonar.updatecenter.url=https://downloads.sonarsource.com/sonarqube/update/update-center.properties, sonar.tsql.file.suffixes=.tsql, sonar.core.startTime=2025-06-17T07:34:12+0000}
  activeRules: [448 cpp, 208 c, 121 secrets, 16 ansible, 132 plsql]
  inputFiles: [
    file:///C:/Users/<User>/sanbox/git/<application>/app/src/main.cpp (UTF-8) [cpp]
  ]
]

 [2025-07-16T13:39:47.783] [sonarlint-analysis-scheduler] DEBUG sonarlint - Looking for git command in the PATH using where.exe (Windows)
 [2025-07-16T13:39:47.889] [sonarlint-analysis-scheduler] DEBUG sonarlint - Found git.exe at Optional[C:\Program Files\Git\cmd\git.exe]
 [2025-07-16T13:39:47.968] [sonarlint-analysis-scheduler] DEBUG sonarlint - Using native git blame
 [2025-07-16T13:39:48.031] [sonarlint-analysis-scheduler] DEBUG sonarlint - Start analysis
 [2025-07-16T13:39:48.033] [sonarlint-analysis-scheduler] INFO sonarlint - Index files
 [2025-07-16T13:39:48.033] [sonarlint-analysis-scheduler] DEBUG sonarlint - Language of file "file:///C:/Users/RO112201/sanbox/git/<application>/app/src/main.cpp" is set to "CPP"
 [2025-07-16T13:39:48.034] [Report about progress of file indexation] INFO sonarlint - 1 file indexed
 [2025-07-16T13:39:48.04] [sonarlint-analysis-scheduler] DEBUG sonarlint - 'IaC Ansible Sensor' skipped because there are no related files in the current project
 [2025-07-16T13:39:48.04] [sonarlint-analysis-scheduler] DEBUG sonarlint - 'OmniSharp' skipped because there are no related files in the current project
 [2025-07-16T13:39:48.04] [sonarlint-analysis-scheduler] DEBUG sonarlint - 'PL/SQL Sensor' skipped because there are no related files in the current project
 [2025-07-16T13:39:48.04] [sonarlint-analysis-scheduler] DEBUG sonarlint - Execute Sensor: EnterpriseTextAndSecretsSensor
 [2025-07-16T13:39:48.04] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Available processors: 16
 [2025-07-16T13:39:48.04] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Using 16 threads for analysis.
 [2025-07-16T13:39:48.07] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Analyzing all except non binary files
 [2025-07-16T13:39:48.072] [Progress of the text and secrets analysis] INFO org.sonar.plugins.common.MultiFileProgressReport - 1 source file to be analyzed
 [2025-07-16T13:39:48.098] [Progress of the text and secrets analysis] INFO org.sonar.plugins.common.MultiFileProgressReport - 1/1 source file has been analyzed
 [2025-07-16T13:39:48.099] [sonarlint-analysis-scheduler] DEBUG sonarlint - Execute Sensor: CFamily
 [2025-07-16T13:39:48.104] [sonarlint-analysis-scheduler] WARN com.sonar.cpp.analyzer.ClangDriver - Provided compiler is not compatible.
Invalid probe found, skip analysis of files: [C:/Users/RO112201/sanbox/git/<application>/app/src/main.cpp]
The compiler probe 'stdout' is expected to contain at least one'#define' directive:


 [2025-07-16T13:39:48.104] [sonarlint-analysis-scheduler] INFO com.sonar.cpp.plugin.SonarLintSensor - Analysis done in: 5ms
 [2025-07-16T13:39:48.104] [sonarlint-analysis-scheduler] INFO com.sonar.cpp.plugin.SonarLintSensor - 0 compilation units analyzed
 [2025-07-16T13:39:48.104] [sonarlint-analysis-scheduler] INFO sonarlint - Analysis detected 0 issues and 0 Security Hotspots in 322ms
 [2025-07-16T13:39:48.125] [sonarlint-analysis-scheduler] DEBUG sonarlint - Reporting 1 issues for configuration scope C:/Users/RO112201/sanbox/git/app_motion_control/.idea/misc.xml_pmotion
 [2025-07-16T13:39:48.126] [SonarLint Server RPC sequential executor] DEBUG sonarlint - Cancelling task from RPC request a598622b-537c-4411-871d-5c7e3563215e
 [2025-07-16T13:40:32.09] [Smart Notifications Polling] DEBUG sonarlint - GET 200 https://sonarqube.<company>.com/api/developers/search_events?projects=Firmware_pMotion&from=2025-07-16T13%3A39%3A32%2B0200 | response time=35ms
 [2025-07-16T13:40:32.091] [Smart Notifications Polling] DEBUG sonarlint - Storing last event polling in C:\Users\RO112201\AppData\Local\JetBrains\CLion2024.3\sonarlint\storage\706d6f74696f6e\projects\4669726d776172655f704d6f74696f6e\last_event_polling.pb
 [2025-07-16T13:41:32.091] [Smart Notifications Polling] DEBUG sonarlint - GET 200 https://sonarqube.<company>.com/api/developers/search_events?projects=Firmware_pMotion&from=2025-07-16T13%3A40%3A32%2B0200 | response time=35ms
 [2025-07-16T13:41:32.092] [Smart Notifications Polling] DEBUG sonarlint - Storing last event polling in C:\Users\RO112201\AppData\Local\JetBrains\CLion2024.3\sonarlint\storage\706d6f74696f6e\projects\4669726d776172655f704d6f74696f6e\last_event_polling.pb