Page 1 of 1

6.4 and 6.5 with respect to unnamed bit fields?

Posted: Tue Apr 27, 2010 5:24 pm
by gs
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?

Posted: Thu May 13, 2010 9:31 am
by misra-c
Yes both rules apply to unnamed bit fields.

A future version of MISRA C may relax these rules with respect to unnamed bit fields.