[Warn - 13:20:24.733] Provided compiler is not compatible.
Invalid probe found, skip analysis of files: [/workspaces/StaticAnalysisTest/main.cpp]
The compiler probe 'stdout' is expected to contain at least one'#define' directive:
Wind River GCC (c++arm) --version output:
c++arm (Wind River VxWorks G++ 4.3-386) 4.3.3
When I switch to a different compiler other than Wind River GCC, things work as expected.
Could you please enable verbose logging, reproduce the issue, and then share the logs with us? You can find a guide on how to so this here: How to get SonarQube for IDE logs
If you would rather share the logs privately, please let me know, and I can start a private thread for you to do so.
Turning on verbose logs helped me figure out the problem, so I could see the error messages.
In my case, it was c++arm: environment variable "WIND_BASE" not defined. Normally our build process sets that directly, so I’ll just have to figure out how to make sure certain environment variables are set and visible to the SonarQube IDE extension.