-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cppcheck failing for version 3.1.2 #1101
Comments
I am aware of this - cppcheck seems to fail parsing the code. I always wanted to open a ticket at cppcheck, but never got to it. |
The line in question is template<typename = void, typename = void>
struct adl_serializer; The problem seems to be the template<typename = void> struct s; yielding
|
Unfortunately, it is not trivial to report an issue with cppcheck, see https://trac.cppcheck.net. I explained the issue on their freenode chat. Let's see how things develop. |
(Using Cppcheck 1.83 by the way) |
If a type name is added before the |
I guess changing the code to have |
I applied for a trac account to report the error at cppcheck. In the meantime, I added the type names proposed by @theodelrieu to mitigate the bug from our side. |
Awesome! FYI, This came up while I was trying to update the Fedora RPM. (https://bugzilla.redhat.com/show_bug.cgi?id=1558490) |
@psalvaggio I had a brief look at the Fedora issue and there seems to be an assertion inside an STL header. I'm not sure whether this is a library issue. But if so, please open a new issue here so we can have a look. |
Closing this issue as original problem with cppcheck has been circumvented with 1c6b332. |
I opened an issue at cppcheck: https://trac.cppcheck.net/ticket/8602 |
The "make cppcheck" test is failing on version 3.1.2
Download the .tar.gz for the version, run "make cppcheck"
Passing
GCC 7.3.1 on Fedora 27
develop
branch?Released
Unit tests are all passing.
The text was updated successfully, but these errors were encountered: