18.4 Unions shall not be used... - 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.18 Structures and Unions (https://forum.misra.org.uk/forumdisplay.php?fid=48) +---- Thread: 18.4 Unions shall not be used... (/showthread.php?tid=323) |
18.4 Unions shall not be used... - rahul_mishra - 13-11-2006 Is it that unions can be declared or defined but not used? i.e.; Do we need to flag a violation even on the declaration or definition of the union? or is it only on the usage of it. - misra-c - 09-05-2007 Tools are free to warn on either declaration or use. |