07-11-2014, 09:12 AM
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.
"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