User Activity

  • Posted a comment on discussion Development on cppcheck

    The installer link references the 2.11 release and has a filename with 2.10 in it: github.com/danmar/cppcheck/releases/download/2.11/cppcheck-2.10-x64-Setup.msi

  • Posted a comment on discussion Development on cppcheck

    Cppcheck's suggestion to make ptr const in the below code seems problematic given that the return type is non-const and compilers find such a change rather unamusing. (godbolt) file.cpp:21:16: style: Variable 'ptr' can be declared as pointer to const [constVariable] for (auto* ptr : ptrs) Below is a copy of the working version of the godbolt (cppcheck --enable=all --std=c++20 --platform=win64 .\file.cpp): #include <iostream> struct I { virtual int A() const = 0; }; class C : public I { public: explicit...

View All

Personal Data

Username:
jharmondcs
Joined:
2022-04-14 16:45:31.882000

Projects

  • No projects to display.

Personal Tools