Menu

Because of missing configuration, misra checking is incomplete

Alfa
2024-07-02
2024-07-02
  • Alfa

    Alfa - 2024-07-02

    Hello. I'm checking this example using cppcheck v2.14.1. And I get an error. What am I doing wrong?

    cppcheck.exe --dump TestMisra.c
    Checking TestMisra.c ...
    
    "C:/msys64/mingw64/bin/python.exe" misra.py  --rule-texts=misra.txt   TestMisra.c.dump
    Checking TestMisra.c.dump...
    Checking TestMisra.c.dump, config ...
    [TestMisra.c:16] (error) Because of missing configuration, misra checking is incomplete. There can be false negatives! Unknown constant TestMisraIndex_Count, please review configuration [misra-config]
    
     
  • Oleksandr Labetskyi

    Hello and thank you for the report! We've created a ticket.

     

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.