[fpc-pascal] alignment of records

Ralf Quint freedos.la at gmail.com
Sat Aug 8 00:37:23 CEST 2015

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

/T//ype////ifmap = PACKED Record/
/                      mem_start: dword;/
/                      mem_end: dword;/
///b//ase_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 email has been checked for viruses by Avast antivirus software.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150807/397a3d8c/attachment.html>

More information about the fpc-pascal mailing list