MISRA Discussion Forums
MISRA C:2012 addenum typo - Printable Version

+- MISRA Discussion Forums (https://forum.misra.org.uk)
+-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4)
+--- Forum: MISRA C:2004 to MISRA C:2012 migration (https://forum.misra.org.uk/forumdisplay.php?fid=155)
+--- Thread: MISRA C:2012 addenum typo (/showthread.php?tid=1046)



MISRA C:2012 addenum typo - Lundin - 04-04-2014

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

Page 6, rule 2004:19.4 compared with 2012:20.4

Quote: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".


Re: MISRA C:2012 addenum typo - misra-c - 11-04-2014

Thank you for pointing out the mistake. You are correct; it should say Rule 15.6.