[fpc-pascal] header translation question, 64 bit problem
Jonas Maebe
jonas.maebe at elis.ugent.be
Sun Jun 17 12:59:22 CEST 2012
On 17 Jun 2012, at 12:08, Florian Klämpfl wrote:
> Am 17.06.2012 01:02, schrieb Bernd:
>>
>> TPurplePluginInfo = packed record
>
> You should also avoid using packed. FPC usually uses the same alignment
> as C on a certain platform does if the types are correctly used.
And if you use {$packrecords c}, then FPC is guaranteed to use the same alignment as C compilers (aka what the platform ABI specifies).
Jonas
More information about the fpc-pascal
mailing list