Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Notional operations Rule 10.1
#1
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
<t></t>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)