Am 08.08.2015 00:37 schrieb "Ralf Quint" <freedos...@gmail.com>:
>
> On 8/6/2015 8:25 PM, Xiangrong Fang wrote:
>>
>> It seems that $packrecord does not work at all.
>
> I always explicitly use PACKED Record as in
>
> Type ifmap = PACKED Record
>                       mem_start: dword;
>                       mem_end: dword;
>                       base_addr: word;
>                       irq: byte;
>                       dma: byte;
>                       port: byte;
>              end;
>
> and at least in/up to FPC 2.6.4, this works for me just fine

This depends however on the code you're interfacing with. Also the record
you mentioned as an example shouldn't differ with and without packed
anyway...

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to