This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: a bug for __builtin_offsetof operator ?
- From: John Love-Jensen <eljay at adobe dot com>
- To: Michael Gong <mwgong at cs dot utoronto dot ca>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Thu, 18 Jan 2007 11:12:59 -0600
- Subject: Re: a bug for __builtin_offsetof operator ?
Hi Michael,
I think it is an issue for the same reason this is an issue:
struct B { int x,y,z; };
int main()
{
struct B b;
b.x = 3; // okay
b.(y) = 4; // parse error
return 0;
}
HTH,
--Eljay