Ah, thank you for clearing up more of these concerns! Would it be possible to obtain a license for Cppcheck Premium for FOSS use? I recall JetBrains offering a similar, free license for their premium products for FOSS developers. I publish tutorials, portability tools, linters, and so on. Some of my top C/C++ projects are: https://github.com/mcandre/rez (write your build system configuration itself in C/C++) https://github.com/mcandre/snek (quickly generate large numbers of cross-OS and cross-architecture...
Hi, I am exploring securing my C++ projects with MISRA. However, when I use the --addon=misra flag, then cppcheck suddenly generates an extraordinary amount of spurious complaints that it is unaware of the std namespace, of nullptr, staticcast, and plenty of other standard, modern C++ elements. Tried supplying a --std=c++17 flag to remind cppcheck that the project is targeting the C++17 standard , but still getting the same behavior. Weird, cppcheck -h reports that it only knows of the C89 and C99...
Hi, I am exploring securing my C++ projects with MISRA. However, when I use the --addon=misra flag, then cppcheck suddenly generates an extraordinary amount of spurious complaints that it is unaware of the std namespace, of nullptr, staticcast, and plenty of other standard, modern C++ elements. Tried supplying a --std=c++17 flag to remind cppcheck that the project is targeting the C++17 standard , but still getting the same behavior. I'm using cppcheck 2.14.2. Is the MISRA addon targeting an old...
Hi, I am exploring securing my C++ projects with MISRA. However, when I use the --addon=misra flag, then cppcheck suddenly generates an extraordinary amount of spurious complaints that it is unaware of the std namespace, of nullptr, staticcast, and plenty of other standard, modern C++ elements. I'm using cppcheck 2.14.2. Is the MISRA addon targeting an old version of C++, or perhaps only pure C code? Is there a misra config JSON setup to work around this problem?
The MISRA checks are more difficult to execute than most other cppcheck checks. For example, Stack Overflow recommends performing manual dumps, one per individual C/C++ source file: https://stackoverflow.com/a/49439561 cppcheck --dump file.c python misra.py file.c.dump That breaks recursion for large C/C++ projects. It requires the user to manage the internals of the misra.py script, risking vendor locking a project's build environment to a specific cppcheck version or OS implementation. When I hand...
Not a bad idea. In my case, a VNC-like setup may be the only workable solution. Ha, I already do nested VM's when setting up some other Vagrant boxes. On Sat, Jun 19, 2021, 4:44 PM Robert Riebisch bttr@users.sourceforge.net wrote: Maybe http://josh.com/tiny/ is, what you are looking for. [bugs:#245] https://sourceforge.net/p/freedos/bugs/245/ Shift modifier often ignored* Status: wont-fix Group: freedos12 Created: Sun Aug 18, 2019 06:56 PM UTC by Andrew Pennebaker Last Updated: Sat Jun 19, 2021 08:06...
Yeah, understood. My interest in rmenu was as a telnet setup. But unfortunately, DOS predates multitasking so I am unable to execute remote commands. On Sat, Jun 19, 2021, 3:06 PM Robert Riebisch bttr@users.sourceforge.net wrote: No need to re-open, as Andrew didn't reply for more than a year. I think, the bug is either in RMENU or VirtualBox. [bugs:#245] https://sourceforge.net/p/freedos/bugs/245/ Shift modifier often ignored* Status: wont-fix Group: freedos12 Created: Sun Aug 18, 2019 06:56 PM...
cppcheck complains that a bitwise-and in the conditional part of my ternary is ambiguous (clarifyCalculation). https://github.com/mcandre/swiper/blob/master/src/swiper.cpp#L31 However, C++ Reference says that the precedence order is unambiguous: https://en.cppreference.com/w/cpp/language/operator_precedence Also, I have just about every warning enabled for MSVC, gcc, and clang. None of these compilers have complained about the arithmetic being ambiguous. Are you sure this cppcheck linting rule is...