{$CODEALIGN 8} illegal alignment directive
Original Reporter info from Mantis: roked
-
Reporter name: Marģers
Original Reporter info from Mantis: roked
- Reporter name: Marģers
Description:
Not sure it's documentation problem or actual compiler error.
Compiler directive {$CODEALIGN 8} is not accepted by compiler itself, while documentations states it should:
https://www.freepascal.org/docs-html/prog/progsu9.html
Command line parameter -Oa=8 is accepted, but has no effect.
Mean while {$CODEALIGN proc=8} is Ok.
Steps to reproduce:
program codealign;
{$CODEALIGN 8} { Compile time error: illegal alignment directive }
begin
end.
Mantis conversion info:
- Mantis ID: 34620
- OS: linux
- Platform: x86_64
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 1524 (#7339556d)
- Target version: 3.2.0