Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Notional operations Rule 10.1
#5
Wouldn't that make both examples unspecified? If the order is right-to-left, then the first example would have the same issue.

At any rate, the expression falls under "complex expressions" in MISRA rule 10.1 and therefore it cannot rely on implicit typecasts.
So neither example is compatible, no matter the order of evaluation.
<t></t>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)