[lazarus] Possible compiler problem ?

Marc Weustink Marc.Weustink at cuperus.nl
Wed Jul 5 04:47:45 EDT 2000


+ From: Marc Weustink [mailto:Marc.Weustink at cuperus.nl]

+ While fixing an editor problem I ran into the following:
+ 
+ type
+   TMyStruct = record
+     case AType: TMytype
+       TypeA: (TypeAPtr: TTypeAPtr);
+       TypeB: (TypeBPtr: TTypeBPtr);
+       TypeC: (TypeCPtr: TTypeCPtr);
+   end;
+ 
+ In earlier discussions it was stated that indepentend of 
+ AType the following
+ was true:
+ 
+   MyStruct.TypeAPtr := SomePointer;
+ 
+   MyStruct.TypeBPtr = SomePointer = MyStruct.TypeCPtr
+ 
+ Is this still the case, since I've some suspictions that it 
+ isn't the case.

Seems to be fixed in the latest compiler.

Marc






More information about the Lazarus mailing list