Menu

Misra check is showing missing declaration

2021-11-26
2021-11-27
  • Simone Gasparella

    Hi forum ,

    I am using the python script for checking the compliance with MISRA C coding standard.
    I run the command in the following way (checking just one file)

    cppcheck --dump inverter.c
    python misra.py --rule-texts=misra_rules_texts.txt inverter.c.dump

    For sure in the relative header file (inverter.h) is present the declaration of the functions..

    How can I fix it ?

    Thanks a lot

     
  • Daniel Marjamäki

    which specific misra rule do you have problems with.

     

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.