Error during execution of SonarLint analysis
java.lang.IllegalArgumentException: Property “sonar.cfamily.build-wrapper-output” was not specified.
The only way to get an accurate analysis of your C/C++/Objective-C project is by using the SonarSource build-wrapper and by setting this property.
If for any reason, the use of the build-wrapper is not possible on your project, you can bypass it with the help of the “sonar.cfamily.build-wrapper-output.bypass=true” property. By using that property, you’ll switch to an “at best” mode that could result in false-positives and false-negatives.
at com.sonar.cpp.plugin.B.A(na:1493)
at com.sonar.cpp.plugin.Q.A(na:1544)
at com.sonar.cpp.plugin.Q.execute(na:476)
at org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:81)
at org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.execute(SensorsExecutor.java:72)
at org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:132)
at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:125)
at org.sonarsource.sonarlint.core.container.ComponentContainer.execute(ComponentContainer.java:110)
at org.sonarsource.sonarlint.core.container.storage.StorageAnalyzer.analyze(StorageAnalyzer.java:75)
at org.sonarsource.sonarlint.core.container.storage.StorageContainerHandler.analyze(StorageContainerHandler.java:82)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.lambda$analyze$0(ConnectedSonarLintEngineImpl.java:152)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:344)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:334)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.analyze(ConnectedSonarLintEngineImpl.java:149)
at org.sonarlint.eclipse.core.internal.server.Server.runAnalysis(Server.java:312)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:67)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:1)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.run(AbstractAnalyzeProjectJob.java:397)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.runAnalysisAndUpdateMarkers(AbstractAnalyzeProjectJob.java:205)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.doRun(AbstractAnalyzeProjectJob.java:167)
at org.sonarlint.eclipse.core.internal.jobs.AbstractSonarProjectJob.runInWorkspace(AbstractSonarProjectJob.java:44)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Hi,
Are you using Eclipse CDT? Can you enable verbose logs in the SonarLint console, and share the output with us?
How to do that “enable verbose logs in the SonarLint console”?
I’m interested by some logs like:
SonarLint processing file /sonarlint-core/src/main/java/org/sonarsource/sonarlint/core/container/connected/update/PluginListDownloader.java...
Connected mode (using configuration of 'org.sonarsource.sonarlint.core:sonarlint-core-parent' in server 'dory')
Starting analysis with configuration:
[
projectKey: org.sonarsource.sonarlint.core:sonarlint-core-parent
baseDir: /home/julien/Prog/Projects/sonarlint-core/core
workDir: /home/julien/Prog/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/sonarlint-core/org.sonarlint.eclipse.core
extraProperties: {sonar.java.target=1.8, sonar.java.libraries=xxxxx}
inputFiles: [
file:/home/julien/Prog/Projects/sonarlint-core/core/src/main/java/org/sonarsource/sonarlint/core/container/connected/update/PluginListDownloader.java (UTF-8)
]
]
Actually, there are two errors:
- error one:
Trigger: BINDING_CHANGE
Clear markers on 0 excluded files
SonarLint processing file /IFaceEngine/AuthorizeServer/src/BaseProcess.h...
Connected mode (using configuration of 'software:IFaceEngine:v1.5.3-fsk' in server '192.168.11.59')
Starting analysis with configuration:
[
projectKey: software:IFaceEngine:v1.5.3-fsk
baseDir: F:\workspace\IFaceEngine
workDir: C:\Users\Administrator\eclipse-workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\IFaceEngine\org.sonarlint.eclipse.core
extraProperties: {sonar.java.target=1.2, sonar.java.libraries=, sonar.java.source=1.3, sonar.java.binaries=F:/workspace/IFaceEngine/bin, sonar.binaries=F:/workspace/IFaceEngine/bin, sonar.libraries=, sonar.java.test.binaries=F:/workspace/IFaceEngine/bin, sonar.java.test.libraries=}
inputFiles: [
file:/F:/workspace/IFaceEngine/AuthorizeServer/src/BaseProcess.h (UTF-8)
]
]
Extension com.sonarsource.plugins.license.api.LicensedPluginRegistration was blacklisted as it is not used by SonarLint
Extension com.sonar.swift.plugin.SwiftProfile was blacklisted as it is not used by SonarLint
Available languages:
* C => "c"
* C++ => "cpp"
* Objective-C => "objc"
* Python => "py"
* Kotlin => "kotlin"
* T-SQL => "tsql"
* JavaScript => "js"
* PL/SQL => "plsql"
* Java => "java"
* HTML => "web"
* TypeScript => "ts"
* ABAP => "abap"
* Swift => "swift"
Start analysis
Declared extensions of language C were converted to c: **/*.disabled
Declared extensions of language C++ were converted to cpp: **/*.disabled
Declared extensions of language Objective-C were converted to objc: **/*.disabled
Declared extensions of language Python were converted to py: **/*.py
Declared extensions of language Kotlin were converted to kotlin: **/*.kt
Declared extensions of language T-SQL were converted to tsql: **/*.tsql
Declared extensions of language JavaScript were converted to js: **/*.js,**/*.jsx,**/*.vue
Declared extensions of language PL/SQL were converted to plsql: **/*.sql,**/*.pks,**/*.pkb
Declared extensions of language Java were converted to java: **/*.java,**/*.jav
Declared extensions of language HTML were converted to web: **/*.html,**/*.xhtml,**/*.jspf,**/*.jspx,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
Declared extensions of language TypeScript were converted to ts: **/*.ts,**/*.tsx
Declared extensions of language ABAP were converted to abap: **/*.abap,**/*.ab4,**/*.flow,**/*.asprog
Declared extensions of language Swift were converted to swift: **/*.swift
Index files
Language of file 'file:/F:/workspace/IFaceEngine/AuthorizeServer/src/BaseProcess.h' is set to 'cpp'
1 files indexed
Quality profiles:
* abap: AWbniJ5U619CM9i0k_ey (60 rules)
* c: AWaLC60l5uAkc84temSz (132 rules)
* cpp: AWbniHJT619CM9i0k-5t (203 rules)
* java: AWaLKbrdpbb6hJ7TMDVe (369 rules)
* js: AWZ7lO40BwraCsmv_BXs (86 rules)
* kotlin: AWaLDm6Ipbb6hJ7TMBaU (31 rules)
* objc: AWbniJ8H619CM9i0k_jn (123 rules)
* plsql: AWbniJye619CM9i0k_Zs (120 rules)
* py: AWZ7lO85BwraCsmv_BdO (32 rules)
* swift: AWbniJ6Z619CM9i0k_gt (61 rules)
* ts: AWZ7lO-jBwraCsmv_Bef (52 rules)
* tsql: AWbniIJg619CM9i0k_W8 (54 rules)
* web: AWaLC68a5uAkc84temdp (18 rules)
'JavaSquidSensor' skipped because there is no related file in current project
Execute Sensor: CFamily
Available processors: 8
Using 1 thread for analysis according to value of "sonar.cfamily.threads" property.
Setting filesystem encoding: UTF-8
Error during execution of SonarLint analysis
java.lang.IllegalStateException: Directory already exists: C:\Users\Administrator\eclipse-workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\IFaceEngine\org.sonarlint.eclipse.core\cfamily\pph
at com.sonar.cpp.A.F.C(na:646)
at com.sonar.cpp.plugin.B.A(na:867)
at com.sonar.cpp.plugin.Q.A(na:1544)
at com.sonar.cpp.plugin.Q.execute(na:476)
at org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:81)
at org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.execute(SensorsExecutor.java:72)
at org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:132)
at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:125)
at org.sonarsource.sonarlint.core.container.ComponentContainer.execute(ComponentContainer.java:110)
at org.sonarsource.sonarlint.core.container.storage.StorageAnalyzer.analyze(StorageAnalyzer.java:75)
at org.sonarsource.sonarlint.core.container.storage.StorageContainerHandler.analyze(StorageContainerHandler.java:82)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.lambda$analyze$0(ConnectedSonarLintEngineImpl.java:152)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:344)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:334)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.analyze(ConnectedSonarLintEngineImpl.java:149)
at org.sonarlint.eclipse.core.internal.server.Server.runAnalysis(Server.java:312)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:67)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:1)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.run(AbstractAnalyzeProjectJob.java:397)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.runAnalysisAndUpdateMarkers(AbstractAnalyzeProjectJob.java:205)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.doRun(AbstractAnalyzeProjectJob.java:167)
at org.sonarlint.eclipse.core.internal.jobs.AbstractSonarProjectJob.runInWorkspace(AbstractSonarProjectJob.java:44)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
- And then I deleted the dir “C:\Users\Administrator\eclipse-workspace.metadata.plugins\org.eclipse.core.resources.projects\IFaceEngine\org.sonarlint.eclipse.core\cfamily\pph”, error two appeared:
Trigger: BINDING_CHANGE
Clear markers on 0 excluded files
SonarLint processing file /IFaceEngine/AuthorizeServer/src/BaseProcess.h...
Connected mode (using configuration of 'software:IFaceEngine:v1.5.3-fsk' in server '192.168.11.59')
Starting analysis with configuration:
[
projectKey: software:IFaceEngine:v1.5.3-fsk
baseDir: F:\workspace\IFaceEngine
workDir: C:\Users\Administrator\eclipse-workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\IFaceEngine\org.sonarlint.eclipse.core
extraProperties: {sonar.java.target=1.2, sonar.java.libraries=, sonar.java.source=1.3, sonar.java.binaries=F:/workspace/IFaceEngine/bin, sonar.binaries=F:/workspace/IFaceEngine/bin, sonar.libraries=, sonar.java.test.binaries=F:/workspace/IFaceEngine/bin, sonar.java.test.libraries=}
inputFiles: [
file:/F:/workspace/IFaceEngine/AuthorizeServer/src/BaseProcess.h (UTF-8)
]
]
Extension com.sonarsource.plugins.license.api.LicensedPluginRegistration was blacklisted as it is not used by SonarLint
Extension com.sonar.swift.plugin.SwiftProfile was blacklisted as it is not used by SonarLint
Available languages:
* C => "c"
* C++ => "cpp"
* Objective-C => "objc"
* Python => "py"
* Kotlin => "kotlin"
* T-SQL => "tsql"
* JavaScript => "js"
* PL/SQL => "plsql"
* Java => "java"
* HTML => "web"
* TypeScript => "ts"
* ABAP => "abap"
* Swift => "swift"
Start analysis
Declared extensions of language C were converted to c: **/*.disabled
Declared extensions of language C++ were converted to cpp: **/*.disabled
Declared extensions of language Objective-C were converted to objc: **/*.disabled
Declared extensions of language Python were converted to py: **/*.py
Declared extensions of language Kotlin were converted to kotlin: **/*.kt
Declared extensions of language T-SQL were converted to tsql: **/*.tsql
Declared extensions of language JavaScript were converted to js: **/*.js,**/*.jsx,**/*.vue
Declared extensions of language PL/SQL were converted to plsql: **/*.sql,**/*.pks,**/*.pkb
Declared extensions of language Java were converted to java: **/*.java,**/*.jav
Declared extensions of language HTML were converted to web: **/*.html,**/*.xhtml,**/*.jspf,**/*.jspx,**/*.cshtml,**/*.vbhtml,**/*.aspx,**/*.ascx,**/*.rhtml,**/*.erb,**/*.shtm,**/*.shtml
Declared extensions of language TypeScript were converted to ts: **/*.ts,**/*.tsx
Declared extensions of language ABAP were converted to abap: **/*.abap,**/*.ab4,**/*.flow,**/*.asprog
Declared extensions of language Swift were converted to swift: **/*.swift
Index files
Language of file 'file:/F:/workspace/IFaceEngine/AuthorizeServer/src/BaseProcess.h' is set to 'cpp'
1 files indexed
Quality profiles:
* abap: AWbniJ5U619CM9i0k_ey (60 rules)
* c: AWaLC60l5uAkc84temSz (132 rules)
* cpp: AWbniHJT619CM9i0k-5t (203 rules)
* java: AWaLKbrdpbb6hJ7TMDVe (369 rules)
* js: AWZ7lO40BwraCsmv_BXs (86 rules)
* kotlin: AWaLDm6Ipbb6hJ7TMBaU (31 rules)
* objc: AWbniJ8H619CM9i0k_jn (123 rules)
* plsql: AWbniJye619CM9i0k_Zs (120 rules)
* py: AWZ7lO85BwraCsmv_BdO (32 rules)
* swift: AWbniJ6Z619CM9i0k_gt (61 rules)
* ts: AWZ7lO-jBwraCsmv_Bef (52 rules)
* tsql: AWbniIJg619CM9i0k_W8 (54 rules)
* web: AWaLC68a5uAkc84temdp (18 rules)
'JavaSquidSensor' skipped because there is no related file in current project
Execute Sensor: CFamily
Available processors: 8
Using 1 thread for analysis according to value of "sonar.cfamily.threads" property.
Setting filesystem encoding: UTF-8
Forced to init a physical file
java.lang.Exception
at org.sonarlint.eclipse.core.internal.jobs.EclipseInputFile.initFromFS(EclipseInputFile.java:70)
at org.sonarlint.eclipse.core.internal.jobs.EclipseInputFile.getPath(EclipseInputFile.java:64)
at org.sonarsource.sonarlint.core.container.analysis.filesystem.SonarLintInputFile.path(SonarLintInputFile.java:114)
at org.sonarsource.sonarlint.core.container.analysis.filesystem.SonarLintInputFile.file(SonarLintInputFile.java:105)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$IteratorSpliterator.tryAdvance(Unknown Source)
at java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(Unknown Source)
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(Unknown Source)
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(Unknown Source)
at java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(Unknown Source)
at java.util.Spliterators$1Adapter.hasNext(Unknown Source)
at com.A.B.F.Q.A(na:1854)
at com.A.B.F.MC.B(na:1213)
at com.A.B.F.MC.B(na:134)
at com.sonar.cpp.plugin.B.A(na:3237)
at com.sonar.cpp.plugin.Q.A(na:1544)
at com.sonar.cpp.plugin.Q.execute(na:476)
at org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:81)
at org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.execute(SensorsExecutor.java:72)
at org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:132)
at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:125)
at org.sonarsource.sonarlint.core.container.ComponentContainer.execute(ComponentContainer.java:110)
at org.sonarsource.sonarlint.core.container.storage.StorageAnalyzer.analyze(StorageAnalyzer.java:75)
at org.sonarsource.sonarlint.core.container.storage.StorageContainerHandler.analyze(StorageContainerHandler.java:82)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.lambda$analyze$0(ConnectedSonarLintEngineImpl.java:152)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:344)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:334)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.analyze(ConnectedSonarLintEngineImpl.java:149)
at org.sonarlint.eclipse.core.internal.server.Server.runAnalysis(Server.java:312)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:67)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:1)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.run(AbstractAnalyzeProjectJob.java:397)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.runAnalysisAndUpdateMarkers(AbstractAnalyzeProjectJob.java:205)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.doRun(AbstractAnalyzeProjectJob.java:167)
at org.sonarlint.eclipse.core.internal.jobs.AbstractSonarProjectJob.runInWorkspace(AbstractSonarProjectJob.java:44)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Property "sonar.cfamily.build-wrapper-output" was not specified.
The only way to get an accurate analysis of your C/C++/Objective-C project is by using the SonarSource build-wrapper and by setting this property.
If for any reason, the use of the build-wrapper is not possible on your project, you can bypass it with the help of the "sonar.cfamily.build-wrapper-output.bypass=true" property. By using that property, you'll switch to an "at best" mode that could result in false-positives and false-negatives.
Error during execution of SonarLint analysis
java.lang.IllegalArgumentException: Property "sonar.cfamily.build-wrapper-output" was not specified.
The only way to get an accurate analysis of your C/C++/Objective-C project is by using the SonarSource build-wrapper and by setting this property.
If for any reason, the use of the build-wrapper is not possible on your project, you can bypass it with the help of the "sonar.cfamily.build-wrapper-output.bypass=true" property. By using that property, you'll switch to an "at best" mode that could result in false-positives and false-negatives.
at com.sonar.cpp.plugin.B.A(na:1493)
at com.sonar.cpp.plugin.Q.A(na:1544)
at com.sonar.cpp.plugin.Q.execute(na:476)
at org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:81)
at org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.execute(SensorsExecutor.java:72)
at org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:132)
at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:125)
at org.sonarsource.sonarlint.core.container.ComponentContainer.execute(ComponentContainer.java:110)
at org.sonarsource.sonarlint.core.container.storage.StorageAnalyzer.analyze(StorageAnalyzer.java:75)
at org.sonarsource.sonarlint.core.container.storage.StorageContainerHandler.analyze(StorageContainerHandler.java:82)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.lambda$analyze$0(ConnectedSonarLintEngineImpl.java:152)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:344)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:334)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.analyze(ConnectedSonarLintEngineImpl.java:149)
at org.sonarlint.eclipse.core.internal.server.Server.runAnalysis(Server.java:312)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:67)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:1)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.run(AbstractAnalyzeProjectJob.java:397)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.runAnalysisAndUpdateMarkers(AbstractAnalyzeProjectJob.java:205)
at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.doRun(AbstractAnalyzeProjectJob.java:167)
at org.sonarlint.eclipse.core.internal.jobs.AbstractSonarProjectJob.runInWorkspace(AbstractSonarProjectJob.java:44)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
So,how do i to configured that?
I gave a fresh try and everything is working fine for me.
Your project looks strange. Is it really a C++ project or a Java project? Can you look at the project natures:
For SonarLint to work, you have to ensure your header file is correctly considered as a CDT resource:
I think it is the key problem:
If for any reason, the use of the build-wrapper is not possible on your project, you can bypass it with the help of the “sonar.cfamily.build-wrapper-output.bypass=true” property. By using that property, you’ll switch to an “at best” mode that could result in false-positives and false-negatives.
SonarLint should generate the build-wrapper configuration for any C/C++ file managed by CDT. So in a sense you are right: the problem is that this build-wrapper configuration is missing. But to me this is not the “key”. I would like to understand why it is not generated.
Are you able to share a sample project I could use to reproduce the issue?
A post was split to a new topic: Error with TSQL plugin