Hi,
With, CG tools: 7.2.4 (TMS320):
I am getting Misra C warning 9.2 for the zero initialization of single dimention float arrays, like the one below:
float array[ 10 ] = {0.0f}; --> Misra C Warning 9.2
(9.2: Braces shall be used to indicate and match the structure in the non-zero initialisation of arrays and structures)
On verifying, this warning does not occur with PC Lint (other Misra C tool).
My setup is:
CCS 3.3, DM6437
CG Tools: v7.2.4
BIOS: 5.41.10.36
Attached test case where the issue is reproducible.
Could you please advice if this is a misreported warning or not.
Thanks,
Best Regards,
Anupama