- Operating system: Linux (Ubuntu 22.04.5 LTS)
- SonarLint plugin version: v4.13 (This also occurred with 4.12)
- Programming language you’re coding in: C++
- Is connected mode used: No, local only using compile_commands.json
And a thorough description of the problem / question:
According to C++ Static Code Analysis & Clean Code Programming Language, Wind River GCC is supported. But, SonarQube for IDE fails with errors, and doesn’t detect any issues.
Error Output:
[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.