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