Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"char" vs. "signed char" vs. "unsigned char" in rule 10.5
#5
The MISRA C working group considers this to be a violation of Rule 6.1.

Rule 10.5 only applies to unsigned char and unsigned short. It does not apply to plain char.

Rule 12.8 would apply if bitwise operators were applied to a signed type.
Posted by and on behalf of the MISRA C Working Group
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)