Page 1 of 1

3.93 and Structure Unions

Posted: Tue May 17, 2005 5:17 pm
by dmoc
Just installed 3.93 today (xp) and discovered it won't accept same-name unions, eg...

Code: Select all

  StructureUnion
    d.lightT
    d.meshT
    d.pivotT
    ...
    d.textureT
  EndStructureUnion
Compiler says "structure field already declared". Is this a bug or intentional?

Posted: Tue May 17, 2005 5:35 pm
by Fred
It is intensional as it could lead into strange cases..