Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Examples in 6.5.3 do not match definition of a loop-counter
#2
You are correct to say that the non-compliant loops do not have a loop counter to modify.

The two loops concerned should have ++x added as the third expression to the loop. This correction will be included in a technical update to the document.

Thank you for bringing this to our attention.
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)