Menu

MISRA warning/error format is different than the usual

2022-03-08
2022-03-13
  • vipul kumar

    vipul kumar - 2022-03-08

    Hi,

    I could compile & execute cppcheck 2.7 on linux machine for my source code with MISRA 2012. Generated the html report also for the same. Out of multiple errors/warnings in the report i am getting below misra violation error/warning which i couldn't understand. Their is no such rule 22.8 or 22.9 also in MISRA 2012.

    ltestvector.x = strtod(s8ptr, NULL);<--- misra violation 2208 with no text in the supplied rule-texts-file<--- misra violation 2209 with no text in the supplied rule-texts-file

    what is the root cause of this error, any pointer on this for the solution will be helpful.

    Regards
    Vipul Kumar

     
  • vipul kumar

    vipul kumar - 2022-03-10

    Hi,

    Thanks!

    Its blocking for me, any pointers on this issue will be helpful.

     
  • Daniel Marjamäki

    Please see the "MISRA C 2012 Amendment 1" . You can download it freely.

     

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.