I have this struct in C:
typedef struct Set {
unsigned int state : 1;
char array[LEN];
} Set;
While this compiles and executes I noticed that the bit-field actually alters one bit in the char array itself! So it I'm wondering if this is some known issue and it is bad practice to have bit-fields with other data types in one struct or I'm not doing something correctly.