On Mon, Jun 30, 2003 at 11:31:15PM +0000, Robert Reimiller wrote: > > >typedef struct recpack_t { > > unsigned int abc: 8; > > unsigned int def: 8; > > } recpack_t; I haven't been following this thread, but that structure cought my attention. Be careful with that if you're compiling with GCC. It has some hairbrained ideas about integral promotion which caused me a big headache once. Someone had used `unsigned int foo:16' instead of `unsigned short foo' and GCC decided that the "type" of foo (unsigned int) didn't fit into int, so math with foo was all done in unsigned int. -- Ben Jackson http://www.ben.com/ -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu