User Activity

  • Posted a comment on discussion General Discussion on cppcheck

    See the screenshot. Cppcheck is treating unsigned integer overflow wrongly.

  • Posted a comment on discussion Help on Null-modem emulator

    I have a desktop PC program called Faction that connects via COM port to a microcontroller. The microcontroller is on COM1. I have written my own program called 'Spy' that works as a man in the middle. My Spy program connects to COM1 and reads data from it, and it forwards this data on to Virtual COM2. Then I get the 'Faction' program to connect to Virtual COM3. My Spy program is working perfectly: There doesn't seem to be any data loss, and there doesn't seem to be any corruption. But, when the...

  • Posted a comment on discussion General Discussion on cppcheck

    cppcheck seeems to be contradicting itself here. see the attached screenshot:

  • Posted a comment on discussion Development on cppcheck

    I got an error for "missingReturn" from a function that returns void, for example: void Increment(unsigned &i) { ++i; } <--- missingReturn : path out of non-void-returning function Of course I was puzzled by this since the function returns void, but then I looked in the header file and I saw that the function was declared as follows: int Increment(unsigned &); So this mismatch in function declaration and definition has confused Cppcheck. I consider this a bug that needs to be fixed. Cppcheck should...

  • Posted a comment on discussion Development on cppcheck

    I just found out today that the following command-line option can be used with g++ to forbid the use of anything other than nullptr: -Werror=zero-as-null-pointer-constant

  • Posted a comment on discussion Development on cppcheck

    I think that we should check through code for: int *p = 0; int *p = NULL; and flag it for style because it should really be: int *p = nullptr;

  • Posted a comment on discussion Development on cppcheck

    The current version of Ubuntu only has version 1.7. Why hasn't there been a ".deb" package made for version 2.6 for the current version of Ubuntu? I realise that the lastest development version of Ubuntu has a package for 2.6, but it doesn't work on the current version of Ubuntu because glibc isn't new enough. How about we compile 2.6 for the current version of Ubuntu and make a ".deb" package for it, and then submit it to the Ubuntu maintainers?

  • Posted a comment on discussion General Discussion on cppcheck

    It's been running for 7 hours now and it's 53% done.

View All

Personal Data

Username:
fgotham
Joined:
2021-12-23 17:38:40.966000

Projects

  • No projects to display.

Personal Tools