13-01-2011, 01:34 PM
The tool "vendor" is me, as I am developing a MISRA rules checker within a static analysis tool. So I'm trying to make it as compliant as possible with the MISRA C 204 rules.
If I write the assignment by decomposing the string into characters then I have no more 9.2 warning as the brackets are there.
I guess that rule 9.2 should distinguish the case of strings that are a shortcut for arrays of chars.
If I write the assignment by decomposing the string into characters then I have no more 9.2 warning as the brackets are there.
I guess that rule 9.2 should distinguish the case of strings that are a shortcut for arrays of chars.
<t></t>