You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running cppcheck myself and observed the same warnings. However, there is little we can do about this:
cppcheck:toomanyconfigs - this can be "fixed" by allowing cppcheck to run through all configs
cppcheck:noExplicitConstructor - this is a feature and allows to write code like json foo = "bar";
cppcheck:passedByValue - I could not find the exact lines, but I think this is a false positive: either the type is something like an int where using a const reference makes little sense, or the variable is moved later on. Could you check these lines whether you think this can be fixed?
cppcheck:constStatement - this is a false positive
What is the issue you have?
static analysis warning by cppcheck
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
What is the expected behavior?
N/A
And what is the actual behavior instead?
N/A
Which compiler and operating system are you using? Is it a supported compiler?
gcc 4.8
Did you use a released version of the library or the version from the
develop
branch?20190820 14:43 develop branch
If you experience a compilation error: can you compile and run the unit tests?
The text was updated successfully, but these errors were encountered: