Hello,
I've been trying to resolve a problem I've been having with cppcheck for the past few months, and I think I have pinpointed where the issue is. I've been getting errors like this:
When I posted this error before you guys didn't see an issue because I uploaded the file that was causing the issue and you ran it on that 1 file. If I do the same, it works:
which is causing the python errors. I've zipped up the folder and attached it so maybe you can run and see if you are seeing the same thing. I'm seeing python errors across multiple files in the folder. I'm using the latest cppcheck (2.4.1) with misra.py from the 2.4.1 tag also.
Hello,
I've been trying to resolve a problem I've been having with cppcheck for the past few months, and I think I have pinpointed where the issue is. I've been getting errors like this:
When I execute this:
I'm getting errors like this:
When I posted this error before you guys didn't see an issue because I uploaded the file that was causing the issue and you ran it on that 1 file. If I do the same, it works:
Run:
Result:
It seems like its an issue when I try to run cppcheck on multiple files as follows:
which is causing the python errors. I've zipped up the folder and attached it so maybe you can run and see if you are seeing the same thing. I'm seeing python errors across multiple files in the folder. I'm using the latest cppcheck (2.4.1) with misra.py from the 2.4.1 tag also.
Thanks! This PR should fix the error: https://github.com/danmar/cppcheck/pull/3208 .
Last edit: Georgiy Komarov 2021-04-13
Removed my posting, because it was an erroneous off-topic posting, sorry.
Last edit: Martin Hohl 2021-04-13
thank you guys! This has been a sore spot for a while now.