[comp.sys.next] bit-fields

gessel@cs.swarthmore.edu (Daniel Mark Gessel) (09/24/90)

I tried to use bit fields in structures, and those structures in other
structures. I got really strange errors, such as gdb didn't see a variable
declared, nor all the lines in a file (listing showed the line, asking for
a breakpoint near the end of the file reported there was no such line).

I used the bit fields with unsigned char's, since I wanted everything as small
as possible.

I would like any info I can get on properly using bit fields on the NeXT, since
as specified in K&R Ansi edition, everything is implementation dependent, and
that seems about all they tell you.

Thanks,

Dan
-- 
Internet: gessel@cs.swarthmore.edu         
UUCP: {bpa,cbmvax}!swatsun!gessel