25-07-2008, 09:37 AM
Page 43 of MISRA C2 states:
The expression u32a + u16b +u16c is compliant but u16a + u16b +u32c is not compliant.
See also examples on page 44.
Surely this assumes the order of evaluation is left to right. Please could you clarify whether the guideline examples are correct?
Many thanks in advance.
Jonathan
The expression u32a + u16b +u16c is compliant but u16a + u16b +u32c is not compliant.
See also examples on page 44.
Surely this assumes the order of evaluation is left to right. Please could you clarify whether the guideline examples are correct?
Many thanks in advance.
Jonathan
<t></t>