25-09-2019, 10:34 AM
The amplification for directive 4.9 states that the guideline "applies only where a function is permitted by the syntax and constraints of the language standard."
Your examples cannot be re-written as functions and therefore directive 4.9 does not apply. There are no violations of directive 4.9.
Your examples cannot be re-written as functions and therefore directive 4.9 does not apply. There are no violations of directive 4.9.
Posted by and on behalf of the MISRA C Working Group