Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cppcheck reporting false positives

I am running cppcheck on my project and am getting reports of unused Functions that ARE definitely used (project wont compile if I remove them). Are there any known reasons why this might happen ? or how I can stop the false reports

Thanks

like image 643
user1414413 Avatar asked Sep 03 '25 03:09

user1414413


1 Answers

In case this error is still present in the latest version of cppcheck, could you please create a minimal example that demonstrates the issue. Having such a test case, the cppcheck developers can fix the issue. I also recommend that you report such issues to cppcheck bugtracker here.

like image 65
orbitcowboy Avatar answered Sep 07 '25 11:09

orbitcowboy