Menu

"Bailing out from analysis: Checking file failed: Failed to execute addon" with cppcheck 2.13

vix
2024-01-10
2024-01-19
  • vix

    vix - 2024-01-10

    With cppcheck 2.13 used from the GUI with a cppcheck project file I get the following error on my .c source files

    Bailing out from analysis: Checking file failed: Failed to execute addon '' - exitcode is 2: python.exe   --cli D:\repos\XXX\yyyy\firmware_yyyy\Projects\zzz_zzzzzz\firmware\tttt_yyyy_firmware-cppcheck-build-dir\system_stm32h7xx.a1.2944.dump
    Output:
    
    unknown option --cli
    usage: python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
    Try `python -h' for more information.
    

    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?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.