12-01-2018, 01:18 PM
I have another question about the example code on page 83.
If
is changed to
no more 5-2-12 violation is reported by our static analysis tool.
But my guess is, this is a loophole not intended by MISRA?
Thanks.
If
Code:
f2(a);// Non-compliant - Dimension "10" lost due to array to pointer conversion
is changed to
Code:
f2(&a[0]);
no more 5-2-12 violation is reported by our static analysis tool.
But my guess is, this is a loophole not intended by MISRA?
Thanks.
<t></t>