6.4 and 6.5 with respect to unnamed bit fields? - 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.6 Types (https://forum.misra.org.uk/forumdisplay.php?fid=33) +---- Thread: 6.4 and 6.5 with respect to unnamed bit fields? (/showthread.php?tid=731) |
6.4 and 6.5 with respect to unnamed bit fields? - gs - 27-04-2010 Do rules #6.4 and 6.4 apply to unnamed bit fields? I would think, since the such fields are unnamed, one would not easily access them. Re: 6.4 and 6.5 with respect to unnamed bit fields? - misra-c - 13-05-2010 Yes both rules apply to unnamed bit fields. A future version of MISRA C may relax these rules with respect to unnamed bit fields. |