Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clarification of Rule 17.4
#10
sparker Wrote:
Code:
uint32 ptr_address   = (uint32)vp;

This is not portable code. See ANSI C90 6.3.4. You're invoking implementation defined behaviour.

That would be why I made a note about MISRA rule 11.3 in my post. Still, this is off-topic.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)