Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension):
Enterprise Edition Version 10.4.1 (build 88267) - how is SonarQube deployed: in our cloud environment
I have two projects in SonarQube which are related to the same repository in git. The two projects have some shared source code files. I use compile_commands.json as a parameter for SonarQube scanner.
It is strange that for the shared source file a.c Sonarqube reported a cpp rule warning in project A
But this doesn’t happen in project B.
I don’t know why a cpp rule is applied to a C language file and why only project A has this problem.
Thanks.