3.93 and Structure Unions

Windows specific forum
dmoc
Enthusiast
Enthusiast
Posts: 739
Joined: Sat Apr 26, 2003 12:40 am

3.93 and Structure Unions

Post 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?
Fred
Administrator
Administrator
Posts: 18357
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

It is intensional as it could lead into strange cases..
Post Reply