Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!swatsun!gessel From: gessel@cs.swarthmore.edu (Daniel Mark Gessel) Newsgroups: comp.sys.next Subject: bit-fields Summary: How do you use bit fields? Keywords: bit fields Message-ID: Date: 24 Sep 90 15:35:43 GMT Organization: Swarthmore College, PA, USA Lines: 18 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