MISRA C:2012 addenum typo

Questions and discussions about moving to the latest version of MISRA C

Moderators: misra-c, david ward

Post Reply
Lundin
Posts: 70
Joined: Mon Dec 10, 2007 1:57 pm

MISRA C:2012 addenum typo

Post by Lundin » Fri Apr 04, 2014 3:10 pm

I found a typo in the MISRA C:2012 addenum.

Page 6, rule 2004:19.4 compared with 2012:20.4
Rule 14.6 requires that a macro with more than 1
statement does not get expanded in an iteration or
selection statements.
Rule 14.6 does not exist. It should be Rule 15.6 "The body of an iteration statement..." /--/ "...should be a compound statement".

misra-c
Posts: 560
Joined: Thu Jan 05, 2006 1:11 pm

Re: MISRA C:2012 addenum typo

Post by misra-c » Fri Apr 11, 2014 8:36 am

Thank you for pointing out the mistake. You are correct; it should say Rule 15.6.
---
Posted by and on behalf of
the MISRA C Working Group

Post Reply

Return to “MISRA C:2004 to MISRA C:2012 migration”