Hi, I didn't want to struggle with creating the track account. I've simple sample of the code firing a false positivy style warning [constParameter ]. The following code fires (using cppcheck-1.90): cppcheck test.cpp --enable=all Checking test.cpp ... test.cpp:23:37: style: Parameter 'service' can be declared with const [constParameter] explicit ClientWrapper(Service& service) : client(service) {} However the client call a non-const method on the service. Note that when I remove the "ClientWrapper"...
Hi, thanks for the response! Currently we get the [variableScope] messages - e.g.: "The scope of the variable 'row' can be reduced". It is because we don't want to complicate freemarker templates to check whether we have only a single column (when there are multiple columns, the 'row' is used multiple times and the warning doesn't occur). I'll check the "symbolName" if it can help for now.
Hi, I've just an idea for a new feature. We run cppcheck even on our generated code. We get several warnings but we want the generated code as it is. Therefor we need to add suppressions. However it's not handy to define the suppressions per file[:line] since it is generated and the generated code can change occasionally. It also doens't seem as a good idea to use inline suppressions since it make a mess in the generated code for users who don't want to use cppcheck. Since we don't want to disable...
Hi, thanks for the fixes, it works well. Good work!
again forgot to log in when posting previous post ... sorry :-)
Hello, since I cannot edit ticked I've created accidentaly without logging, I just...
Hello, since I cannot edit ticked I've created accidentaly without logging, I just...