Questions and discussions about moving to the latest version of MISRA C
Moderators: misra-c, david ward
- Posts: 70
- Joined: Mon Dec 10, 2007 1:57 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
Rule 14.6 does not exist. It should be Rule 15.6
"The body of an iteration statement..." /--/ "...should be a compound statement".
- Posts: 571
- Joined: Thu Jan 05, 2006 1:11 pm
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