On 3/29/2023 2:38 PM, Ched via fpc-pascal wrote:
Hello,

Ok for the records for internal calculations. But sometimes, records are used for reading/writing structured files. Does "packed" in "packed array" and "packed record" always forbid the compiler to play with alignments ?

If that record/array is specifically defined as "packed", then yes, of course. However, arrays/records that are no so defined should be aligned...


Ralf


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to