unnamed bit fields

utzoo!decvax!ucbvax!unix-wizards utzoo!decvax!ucbvax!unix-wizards
Sun Nov 15 22:47:50 AEST 1981


>From decvax!shannon at Berkeley Sun Nov 15 22:05:44 1981
Re: MBM at MIT-XX's query about unnamed bit fields.
The unnamed bit fields must have a type.  The declaration
should be

	struct  { int x : 2, :2, :0; int y; }
or
	struct  { int x : 2; int :2; int :0; int y; }


				Bill Shannon
				decvax!shannon



More information about the Comp.unix.wizards mailing list