User Activity

  • Posted a comment on discussion General Discussion on cppcheck

    And it's already fixed ( https://github.com/danmar/cppcheck/pull/7041 ). Thanks a lot !

  • Posted a comment on discussion General Discussion on cppcheck

    Hi, I thought this was worth a bug report and it was the proper channel for it to be recorded in https://trac.cppcheck.net/ as I don't have an account there. Is it possible to open a bug for this issue ? Regards.

  • Posted a comment on discussion General Discussion on cppcheck

    Hi, cppcheck is reporting struct member as unused despite it being used in offsetof(): #include <stddef.h> struct foobar { char unused; }; size_t offset_unused = offsetof(struct foobar, unused); cppcheck reports struct-offsetof.c:4:8: style: struct member 'foobar::unused' is never used. [unusedStructMember] char unused; ^ offsetof() macro is part of the language since C89 I believe. Is it possible to extend cppcheck so that it has some knowledge of the macro without parsing <stddef.h> ?</stddef.h>...

View All

Personal Data

Username:
ydroneaud
Joined:
2010-06-11 14:12:16
Location:
Antony / France / CEST
Gender:
Male

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB