User Activity

  • Posted a comment on discussion Development on cppcheck

    Could someone please file a ticket? Or is there already a ticket for this?

  • Modified a comment on discussion Development on cppcheck

    Managed to trim it a little bit more: struct ListItem { int value; }; void clamp() { auto range = v.value<QPair<int, int>>(); } Reduced parameters to the following: cppcheck --enable=unusedFunction crash.cpp

  • Modified a comment on discussion Development on cppcheck

    Managed to trim it a little bit more: struct ListItem { int value; }; void clamp() { auto range = v.value<QPair<int, int>>(); } Reduced parameters to the following: cppcheck --enable=all crash.cpp

  • Modified a comment on discussion Development on cppcheck

    Managed to trim it a little bit more: struct ListItem { int value; }; void clamp() { auto range = v.value<QPair<int, int>>(); } I ran it with following parameters: cppcheck --enable=all crash.cpp

  • Posted a comment on discussion Development on cppcheck

    Managed to trim it a little bit more: struct ListItem { int value; }; void clamp() { auto range = v.value<QPair<int, int>>(); }

  • Modified a comment on discussion Development on cppcheck

    Hey there. Cppcheck 2.6 crashes where cppcheck 2.5 does not By removing as much lines as possible, I ended up with this: class List { public: struct ListItem { int value; }; }; int clamp(int i, QVariant v) { QPair<int, int> range = v.value<QPair<int, int>>(); return i; } # gdb cppcheck (gdb) r --enable=all --std=c++11 --library=qt crash.cpp Starting program: /usr/bin/cppcheck --enable=all --std=c++11 --library=qt crash.cpp [Thread debugging using libthread_db enabled] Using host libthread_db library...

  • Modified a comment on discussion Development on cppcheck

    Hey there. Cppcheck 2.6 crashes where cppcheck 2.5 does not By removing as much lines as possible, I ended up with this: class List { public: struct ListItem { int value; }; }; int clamp(int i, QVariant v) { QPair<int, int> range = v.value<QPair<int, int>>(); return i; } # gdb cppcheck (gdb) r --enable=all --std=c++11 --library=qt crash.cpp Starting program: /usr/bin/cppcheck --enable=all --std=c++11 --library=qt crash.cpp [Thread debugging using libthread_db enabled] Using host libthread_db library...

  • Posted a comment on discussion Development on cppcheck

    Hey there. Cppcheck 2.6 crashes where cppcheck 2.5 does not By removing as much lines as possible, I ended up with this: class List { public: struct ListItem { int value; }; }; int clamp(int i, QVariant v) const { QPair<int, int> range = v.value<QPair<int, int>>(); return i; } # gdb cppcheck (gdb) r --enable=all --std=c++11 --library=qt crash.cpp Starting program: /usr/bin/cppcheck --enable=all --std=c++11 --library=qt crash.cpp [Thread debugging using libthread_db enabled] Using host libthread_db...

View All

Personal Data

Username:
huddust
Joined:
2014-06-04 16:08:51

Projects

  • No projects to display.

Personal Tools