Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A question for Rule8.3
#2
The exception to rule 8.3 allows compatible versions of the same basic type to be used interchangeably. This include basic types used within a structure declaration.

"signed short" and "signed short int" are compatible versions of the same basic type, which means the two versions of the "struct tab" are compatible.
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)