User Activity

  • Posted a comment on discussion General Discussion on cppcheck

    Hi Daniel, Thanks for the quick response ! I would be interested in fixing this issue, but truth be told, I don't think I will have time in the next couple of weeks. If that is not an issue, I'll have a look at it when I have time. Best regards, Ronnie

  • Modified a comment on discussion General Discussion on cppcheck

    Hi, I found an unitialized member in my code, that was not detected by cppcheck. See reproduction code below. Theoretically cppcheck is correct, the member is always true at the end of the constructor, but I was expecting some sort of message. Is there a way to convince cppcheck to give me a warning for this, or is this a bug? Code: ` struct A { A(); bool m_a; }; void doSomething() { } A::A() { if (m_a) { doSomething(); } else { m_a = true; } } `

  • Posted a comment on discussion General Discussion on cppcheck

    Hi, I found an unitialized member in my code, that was not detected by cppcheck. See reproduction code below. Theoretically cppcheck is correct, the member is always true at the end of the constructor, but I was expecting some sort of message. Is there a way to convince cppcheck to give me a warning for this, or is this a bug? Code: ` struct A { A(); bool m_a; }; void doSomething() { } A::A() { if (m_a) { doSomething(); } else { m_a = true; } } `

View All

Personal Data

Username:
tabletop
Joined:
2020-10-27 10:59:51

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB