typedef int s32; struct { s32 x:1; } foo; foo.x = -1; printf("%d", foo.x); // Guess what happens with gcc -funsigned-bitfields...
-
-
Sounds right to me. Not sure what "the same type" means in C, in actuality, especially with differences like this. char / signed char / unsigned char being three types is also a fun but known surprise.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.