10-03-2010, 10:35 AM
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.
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