On Tue, 2007-06-05 at 18:07 -0700, Paul Lalonde wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Signed bit field overflow. > > You (don't) want "unsigned int botch:1;" > > Yuck.
This bit of C is even more obscure. Consider this:
struct {
enum {A=-1} x:1;
} s = {A};
In this particular case you're at a total mercy of
the compiler 'cause you can't really write '[un]signed enum'
Thanks,
Roman.
