Packed record is not valid in Island

island
(takepoi) #1

Hi.

TestStruct = packed record
public
Member1: Int32;
Member2: Boolean;
end;

In this record, the result of sizeOf is 5 on Delphi, but it remains 8 on Oxygene Island, and it seems that packed is not effective.
and also, specifying {$ALIGN 1} did not result in a compilation error, but the alignment did not change.

Elements version 10.0.0.2385

0 Likes

(RemObjects) #2

Thanks, logged as bugs://82369

0 Likes

(RemObjects) #3

bugs://82369 got closed with status fixed.

0 Likes