Other question about pointer to void - Printable Version +- MISRA Discussion Forums (https://forum.misra.org.uk) +-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4) +--- Forum: MISRA-C: 2004 rules (https://forum.misra.org.uk/forumdisplay.php?fid=17) +---- Forum: 6.11 Pointer Type Conversions (https://forum.misra.org.uk/forumdisplay.php?fid=38) +---- Thread: Other question about pointer to void (/showthread.php?tid=339) |
Other question about pointer to void - fwamolina - 07-02-2007 In misraC-2004 when starts section 6.11 - Pointer type Conversion says the following: \"Conversions involving pointer types require an explicit cast except when: The conversion is between a pointer to object an a pointer to void....\" my question is if this example is compliance with that. Code: void func (void) thank you. - misra-c - 09-05-2007 Your example is compliant. |