Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 11.5 and char/string constants
#3
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.
<t></t>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)