...
Therefore, it is impossible to write portable code that makes assumptions about the layout of bit-fields structures.
Risk Assessment
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
INT12-A | 2 (medium) | 1 (low) | 2 (medium) | P4 | L3 |
References
Wiki Markup |
---|
\[[ISO/IEC 9899-1999|AA. C References#ISO/IEC 9899-1999]] Section 6.7.2, "Type specifiers" \[[MISRA 04|AA. C References#MISRA 04]] Rule 3.5 |