https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94433
--- Comment #5 from David Binderman <dcb314 at hotmail dot com> --- (In reply to David Malcolm from comment #4) > However I'm confused by the "can be declared with const [constParameter]" > warnings in comment #0 - they look const to me. What are these messages > trying to tell me, and how would I fix them? (could they be false > positives?) > > Any ideas? If the tool is telling you they can be declared with const and they are already const, then that looks like a false positive to me. cppcheck isn't perfect. I checked diagnostic-manager.cc and exploded-graph.h and I think they are false positives.