koreth@ssyx.ucsc.edu (Steven Grimm) (03/12/88)
Does anyone know how to declare a bitfield in a structure with the Sun 3.2 C compiler? The standard struct foo { unsigned apple : 1; unsigned orange : 1; }; doesn't seem to work. Are bitfields not supported? Please reply by E-Mail if at all possible. +New! Improved! Now 200% Artificial-+-+-----------Steven Grimm------------+ |# # @@@ **** &&&&& $$$$$ % %| | ARPA: koreth@ssyx.ucsc.edu | |# # @ @ * * & $ % %+-+ UUCP: ...!ucbvax!ucscc!ssyx!koreth| |### @ @ **** &&&& $ %%%%%| |___________________________________| |# # @ @ * * & $ % %+-+"Things are only impossible until | |# # @@@ * ** &&&&& $ % %| | they're not." - Jean-Luc Picard | +-----with NutraSour(TM)! No natural colors or preservatives!------------+