User Activity

  • Modified a comment on discussion General Discussion on cppcheck

    Hi, Yes, I will provide an example in the coming days on a github repo. Please check here again soon for the link. I edited the source code of Cppcheck already and got it working again. I'll look into creating a pull request. Regards

  • Modified a comment on discussion General Discussion on cppcheck

    Hi, Yes, I will provide an example in the coming days on a github repo. Please check here again soon for the link. I edited the source code of Cppcheck already and got it working again. I'll look into creating a pull request. Regards

  • Posted a comment on discussion General Discussion on cppcheck

    Hi, Yes, I will provide an example in the coming days on a github repo. Please check here again soon for the link. Regards

  • Posted a comment on discussion General Discussion on cppcheck

    I discoverd this when trying to run my Cppcheck targets via visual code. This forces me to use the CmakePresets.json architecture field. This doesn't accept Win32. Only win32 is allowed. After this, the resulting project is nearly identical, but Cppcheck doesn't find any sources anymore. win32 is also accepted as a parameter for cmake -A. After configuring with -A win32 instead of -A Win32, the cppcheck targets no longer work for me because Cppcheck doesn't find any sources in the projects anymore....

  • Posted a comment on discussion General Discussion on cppcheck

    A preprocessor definition got into the code. There was a CMake compile definition for /FR. I removed it. Now the error is gone. Thank you for the support!

  • Posted a comment on discussion General Discussion on cppcheck

    1>_bam_data . init_data . nof_packets = details . data_size FR 1 7 ; Does this help?

  • Posted a comment on discussion General Discussion on cppcheck

    I recently updated to Cppcheck 2.16 and added the exhaustive flag to my run. Since then I get a few syntax errors. _bam_data.init_data.nof_packets = details.data_size / 7; details is just a struct and data_size is a uint16_t. This error wasn't here before upgrading. Even when I rework this to something like this: auto var = 10u / 7u; the issue remains. After uninstalling and trying out 2.15 the issue remains. Exhaustive or not doesn't seem to resolve the issue.

  • Posted a comment on discussion General Discussion on cppcheck

    Hi, Here is the exerpt of the dump of the code. The line is: static t_calibration_item const const s_calibr_calib_item_list_p_p; These * should not be arithmatic, right? Regards, Emiel <token id="000002C13744F810" file=".../calibr.c" linenr="79" column="1" str="static" scope="000002C1377EC420" type="name"/> <token id="000002C137D338A0" file=".../calibr.c" linenr="79" column="0" str="const" scope="000002C1377EC420" type="name"/> <token id="000002C13744F690" file=".../calibr.c" linenr="79" column="8"...

View All

Personal Data

Username:
perijah
Joined:
2023-05-03 15:06:43.467000

Projects

  • No projects to display.

Personal Tools