This is the mail archive of the
mailing list for the GCC project.
Re: typeof and bitfields
On Jan 13, 2005, at 7:12 PM, Matt Austern wrote:
So given that "n" has a type, what's the rationale for saying that
users aren't allowed to look at that type using typeof? The C++
compiler knows that the type of that field is "int", and I can't think
of any reason why the C compiler shouldn't know that too.
The type is one bit size int which is different from int.
The patch which changed this is
This patch describes the exact type and why this changed and where in
C standard this is mentioned.