[Pas2js] Building problem
Michael Van Canneyt
michael at freepascal.org
Wed Sep 30 17:32:12 CEST 2020
On Wed, 30 Sep 2020, Ryan Joseph wrote:
>
>
>> On Sep 30, 2020, at 12:18 AM, Michael Van Canneyt <michael at freepascal.org> wrote:
>>
>> You have a completely wrong system unit ?
>>
>> Line 369 is in the interface part, revision 887 contains this on line 369
>>
>> function ParamCount: Longint;
>> function ParamStr(Index: Longint): String;
>>
>> The delete() declaration does not contain assembler.
>
> OK I was confused. I guess one of the fpc installs included pas2js also and it was getting mixed up. I just built fresh from SVN and it's working now.
>
> I see TJSArrayBufferView seems to be missing. Where did this go?
>
> webgl2.pas(299,71) Error: identifier not found "TJSArrayBufferView"
That should be TJSArrayBuffer or TJSDataView, because ArrayBufferView does
not actually exist.
See:
https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView
>
> Why are you not including GCC error messages?
You're the first to ask, so: simply because we don't see the need.
The current error messages are used in Lazarus/Delphi
and VS Code studio. None seem to have problems with this.
But that's not to say we won't accept patches that implement this, of course.
Should be fairly trivial to add, I suppose.
Michael.
More information about the Pas2js
mailing list