-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot find the sources for '#include <stdio.h>', ' ' is not declared as multi-values/property set #1518
Comments
Hi @spaceneurocruzz and thank you for reaching out, there are several aspects related to your issue: Why you don't see any results:
I would highly recommend you to use external tools instead of SquidSensor. **Why you see the the missing-include warning: We will take a look at the issue with the system includes. |
I forgot to mention, that the warnings like...
... doesn't affect the functionality. These warnings are caused by SonarQube API update. There is already an open issues for that #1384 |
@ivangalkin Many thanks for your prompt reply. |
@spaceneurocruzz I am glad it helped |
@ivangalkin think first sentence is saying that you have to run external tools? But feel free to improve the documentation. Think our docu is not the best at the moment. |
@spaceneurocruzz's quote:
We write about rules activation in the release notes, but I believe this part is missing in the documentation indeed. |
@ivangalkin: https://github.com/SonarOpenCommunity/sonar-cxx/wiki/Running-the-analysis
Or what exact is missing? |
@guwirth https://github.com/SonarOpenCommunity/sonar-cxx/wiki/Upgrade-Instructions
As far as I see the part about rules activation is mentioned in the upgrade instruction only. Neither running-the-analysis nor running-tools do contain information about the activation of sensor-specific rules |
I tried to use SonarQube with C#, and it works out fine. Now I would like to try it on C, so I add the sonar-c-plugin into my SonarQube(docker), as the tutorial said. However, I kept encountering the problem when running sonar scanner.
My version is:
Source code file:
Command:
C:\SonarScannerC\bin\sonar-scanner.bat -Dsonar.scm.disabled=true -X
Log:
sonar-scanner.properties:
(I tried to add lib it said "cannot find" as possible)
Win7: sonar.c.library.directories=C:\MinGW\include
Ubuntu: sonar.c.includeDirectories=/usr/include,/usr/include/x86_64-linux-gnu,/usr/include/c++/5/tr1,/usr/include/linux,/usr/include/c++/5
In the end, it said EXECUTION SUCCESS. There are codes pushed on SonarQube but there's no result analysis on it.
Could you please help me figure it out?
Thanks a lot!
The text was updated successfully, but these errors were encountered: