Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Void Pointer Usage
#2
1. See 6.1.2.5 for a description of pointers to object types.

2. This is compliant. The rule is to prohibit for example, casting from pointer to object to pointer to function. While compliant, such practice is not without risk.
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)