Issues with Align directive documentation
Original Reporter info from Mantis: Lychee
-
Reporter name:
Original Reporter info from Mantis: Lychee
- Reporter name:
Description:
Align directive docs [*] reads:
Thus, the following {
A 8} is equivalent to {
PACKRECORDS 8}
{A 8} throws me a compiler error. {
ALIGN 8} or {$A8} does compile though.
I assume a typo ?
.. continues:
and specifies to the compiler that all data inside a record should be
aligned on 8 byte boundaries.
$ALIGN documentation should either follow $PACKRECORDS documentation that clearly states differently or the $ALIGN directive does not do as advertised.
It is at the least misleading.
[*] http://www.freepascal.org/docs-html/3.0.0/prog/progsu1.html#x8-70001.2.1
Mantis conversion info:
- Mantis ID: 31417
- Version: 3.0.0
- Fixed in version: 3.1.1
- Fixed in revision: 1397 (#1f940eda)
- Target version: 3.2.0