25-01-2008, 10:00 AM
Hi,
i have a question about the type in bitfields.
In the example in rule 3.5 there is the note \"Note: use of basic types is required\"
In rule 6.3 it says: \"typedefs are not considered necessary in the specification of bit-field types.\"
So typedefs are not forbidden for bitfields.
I don't anderstand the stätement in the example of rule 3.5.
Why are basic types required here?
Do you have an explanation, why i should write
unsigned int x_set:1
and not
uint32_t ? x_set:1?
Thanks,
Regine
i have a question about the type in bitfields.
In the example in rule 3.5 there is the note \"Note: use of basic types is required\"
In rule 6.3 it says: \"typedefs are not considered necessary in the specification of bit-field types.\"
So typedefs are not forbidden for bitfields.
I don't anderstand the stätement in the example of rule 3.5.
Why are basic types required here?
Do you have an explanation, why i should write
unsigned int x_set:1
and not
uint32_t ? x_set:1?
Thanks,
Regine