MISRA Discussion Forums

Full Version: MISRA C:2012 addenum typo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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".
Thank you for pointing out the mistake. You are correct; it should say Rule 15.6.