[Pas2js] Cannot build pas2js latest git

Michael Van Canneyt michael at freepascal.org
Fri Aug 11 23:46:33 CEST 2023



On Fri, 11 Aug 2023, Ondrej Pokorny via Pas2js wrote:

> I found out what makes the difference: delete fpmake.exe and then make 
> compiles the extra utils and fails with the error:
>
> syncobjs.pp(527,64) Error: Incompatible type for arg no. 3: Got "Pointer", 
> expected "LongInt"

I think for version 3.2.2, NOPOINTER must be defined.

Can you please try adding

{$IFDEF VER3_2}
{$DEFINE NOPOINTER}
{$ENDIF}

at the top of the file syncobjs.pp.

If that helps, I'll commit that change.

Michael.


More information about the Pas2js mailing list