Showing compiler warnings in sonar dashboard

So , Building clean application required good code. Compiler warning is hunting our application and as a developer I want to restrict or at least display compiler warnings in application in sonar dashboard.

I want to do this. I need guidance. We are using licensed sonar tool. please help

Hey there.

What language(s) are you analyzing, and what kind of compiler warnings are you wanting to import? Can you give some examples?

In my case, i am using Java. Let me know if its supported by sonar ?