In ALIGN >=8 mode compiler miscalculates records size
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
Compiler breaks with error when trying to convert records to another type but with with equal size, like: Integer(SomeRecordVariable).
This is not happens when compiled with {$ALIGN 4) and less.
This case can be treated as Delphi incompatibility.
Additional information:
Reporter: Alexey Barkovoy
EMail: clootie at ixbt dot com
Mantis conversion info:
- Mantis ID: 4978
- OS: WIN32
- Version: 1.9.2
- Fixed in version: 1.9.3