SonarQube incorrectly identifying cpp:S5817: this function should be declared const

Ah, understood, thank you for the tip.

The logs pointed me towards the likely real issue, that all of my header files generated from .msg’s in ROS weren’t found by SonarQube. I opened a new post with this more specific issue: SonarQube support for .h files machine generated by ROS during compilation

Thank you for the hint!

1 Like