more that 32 flag array testing

Karl Heuer karl at haddock.ima.isc.com
Thu Oct 11 11:13:25 AEST 1990


In article <4811 at baird.cs.strath.ac.uk> rmacgreg at cs.strath.ac.uk (Sorcerer) writes:
>I don't know if this will work, never having tried it myself,

Wouldn't it have been easier to try it than to post this message around the
world?

>I see no reason why you couldn't define a bitfield to be 100 bits long.

(a) It's not allowed by ANSI, K&R, or common practice.

(b) Even if it were, it wouldn't work.  What's really needed is an *array* of
bitfields, which is illegal because of a technicality related to the array and
pointer duality.

Karl W. Z. Heuer (karl at ima.isc.com or harvard!ima!karl), The Walking Lint



More information about the Comp.lang.c mailing list