Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
11.2 Interpretation
#2
MISRA-C Steering Team - 7th November 2006

The previous example is compliant with rule 11.2 but not compliant with rule 11.4.

An incorrect interpretation of the rule text was possible. The correct reading of this rule is as follows:

Conversions shall not be performed between a pointer to object and any type other than
(a) an integral type,
(b) another pointer to object type or
© a pointer to void.
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)