[fpc-pascal] Re: Data alignment of records

Luis Fernando Del Aguila Mejía luis3000 at ec-red.com
Fri Dec 10 22:20:03 CET 2010


>Maybe a better question is: why do you want to know the alignment of
>different data types? Since it can change depending on which platform
>you are compiling for, writing your code assuming a particular
>alignment is generally a very bad idea.

Not only want to know the alignment of different data types, there are also
other things, the reasons are:

1. Because I want to learn and understand how the compiler works.
2. If I find a mistake, I would like to know how to fix it

thanks.





More information about the fpc-pascal mailing list