With cppcheck 2.13 used from the GUI with a cppcheck project file I get the following error on my .c source files
Bailingoutfromanalysis:Checkingfilefailed:Failedtoexecuteaddon''-exitcodeis2:python.exe--cliD:\repos\XXX\yyyy\firmware_yyyy\Projects\zzz_zzzzzz\firmware\tttt_yyyy_firmware-cppcheck-build-dir\system_stm32h7xx.a1.2944.dumpOutput:unknownoption--cliusage:python.exe[option]...[-c cmd | -m mod | file | -][arg]...Try`python-h'formoreinformation.
Python is installed on my Windows machine, and if I run
python --version
I get
Python 3.9.10
I can say that the project file has ben created with an old release of cppcheck (2.10.0 if I'm right).
I enabled the misra addon
Is there something wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With cppcheck 2.13 used from the GUI with a cppcheck project file I get the following error on my .c source files
Python is installed on my Windows machine, and if I run
I get
I can say that the project file has ben created with an old release of cppcheck (2.10.0 if I'm right).
I enabled the misra addon
Is there something wrong?
Since I see this error when I run an analysis with MISRA C from the GUI, I think this is the same issue as this one
https://sourceforge.net/p/cppcheck/discussion/general/thread/d120300dde/
and so it should be related to issue
https://trac.cppcheck.net/ticket/12352