a bug for __builtin_offsetof operator ?

John Love-Jensen eljay@adobe.com
Thu Jan 18 17:13:00 GMT 2007


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



More information about the Gcc-help mailing list