Reply to post: What am I missing?

Keen to go _ExtInt? LLVM Clang compiler adds support for custom width integers

Dan 55 Silver badge

What am I missing?

typedef struct {

unsigned char flag:1;

unsigned char nibble:4;

unsigned char munch:2;

unsigned int mouthful:18;

} someStructure;

What's wrong with that?

Edit: By the way, the code tag is a bit broken on El Reg.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2021