Hello Michael,
I cannot build current main Pas2JS with stable FPC 3.2.2.
The errors are the following:
Free Pascal Compiler version 3.2.2+dfsg-32 [2024/01/05] for x86_64 Copyright (c) 1993-2021 by Florian Klaempfl and others Target OS: Linux for x86-64
Compiling /home/adminek/software/pas2js/compiler/utils/pas2js/pas2js.pp [...]
Compiling ./compiler/packages/pastojs/src/pas2jsresources.pp Compiling ./compiler/packages/pastojs/src/pas2jsfs.pp Compiling ./compiler/packages/pastojs/src/pas2jshtmlresources.pp Compiling ./compiler/packages/pastojs/src/pas2jsjsresources.pp Compiling ./compiler/packages/pastojs/src/fppas2js.pp fppas2js.pp(3328,56) Error: Illegal qualifier
fppas2js.pp(3334,32) Error: Illegal qualifier
It is on these lines:
??? OldItem:=TPasIdentifier(FExternalNames.List[Index].Data);
I had to change it to:
??? OldItem:=TPasIdentifier(FExternalNames.List^[Index].Data);
The same with these lines:
? FItems.List[Index].Data:=Item;
to
? FItems.List^[Index].Data:=Item;Can you please check?
Thanks, Ondrej
