09-09-2009, 10:25 AM
Conversion of a pointer to object to a pointer to different object via a pointer to void is permitted by the MISRA C rules. While this style of coding is questionable, the MISRA C Working Group felt unable to prevent it given the extensive use of pointers to void in the C library.
We acknowledge the typographical error in the 2nd paragraph of 6.11. It should indeed have said (void *)0.
Tracker Id: 41
We acknowledge the typographical error in the 2nd paragraph of 6.11. It should indeed have said (void *)0.
Tracker Id: 41
Posted by and on behalf of the MISRA C Working Group