31-01-2008, 10:30 AM
Hi,
sorry, the information in my post was insufficient.
Do you have an explanation, why i should write
unsigned int x_set:1
and not
uint32_t x_set:1? When uint32_t is a typedef unsigned int uint32_t; on a 32 bit architecture,
or
uint16_t x_set:1 When uint16_t is a typedef unsigned int uint16_t on a 16 bit architecture ??
It's no question that long and char are surely not allowed to use.
Thanks in advance.
Regine
sorry, the information in my post was insufficient.
Do you have an explanation, why i should write
unsigned int x_set:1
and not
uint32_t x_set:1? When uint32_t is a typedef unsigned int uint32_t; on a 32 bit architecture,
or
uint16_t x_set:1 When uint16_t is a typedef unsigned int uint16_t on a 16 bit architecture ??
It's no question that long and char are surely not allowed to use.
Thanks in advance.
Regine