User Activity

  • Modified a comment on discussion General Discussion on cppcheck

    Ignore this post. Accidental duplicate

  • Posted a comment on discussion General Discussion on cppcheck

    Hello, I've just upgrade a codebase using cppcheck 2.10 to 2.17.1 and then 2.19.1 and have run into an error that I haven't be able to solve, but I have identified the root cause. Consider the following code: typedef struct MyStruct { float thing; } MyStruct_t; static MyStruct_t myArray[sizeof(MyStruct_t)]; When evaluated on version 2.17.1 or higher (tested 2.17.1, 2.19, 2.19.1), it gives the following error: src\demo.c:6:26: error: Because of missing configuration, misra checking is incomplete....

  • Posted a comment on discussion General Discussion on cppcheck

    Hello, I've just upgraded a codebase using cppcheck 2.10 to 2.17.1 and then 2.19.1 and have run into an error that I haven't be able to solve, but I have identified the root cause. Consider the following code: typedef struct MyStruct { float thing; } MyStruct_t; static MyStruct_t myArray[sizeof(MyStruct_t)]; When evaluated on version 2.17.1 or higher (tested 2.17.1, 2.19, 2.19.1), it gives the following error: src\demo.c:6:26: error: Because of missing configuration, misra checking is incomplete....

View All

Personal Data

Username:
marcusg
Joined:
2026-01-26 20:04:16.175000

Projects

  • No projects to display.

Personal Tools