04-04-2014, 02: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 does not exist. It should be Rule 15.6 "The body of an iteration statement..." /--/ "...should be a compound statement".
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".
<t></t>