This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Joseph S. Myers wrote:
> On Wed, 3 Dec 2003, Jamie Lokier wrote:
>
> > struct { E e : 2; unsigned f : 1; } s;
>
> > s.e = (__typeof__(s.e)) e2;
>
> We just disallowed typeof on bit-fields
You are right. Please excuse the sloppy example :)
I meant to write:
s.e = e2;
-- Jamie
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |