[Pas2js] pas2js and server sent events

Luca Olivetti luca at ventoso.org
Fri Aug 26 17:45:32 CEST 2022

El 26/8/22 a les 17:34, Mattias Gaertner ha escrit:
> On Fri, 26 Aug 2022 15:11:42 +0200 (CEST)
> Michael Van Canneyt <michael at freepascal.org> wrote:
>> [...]
>> In each case, you'll need trunk if you want websockets:
>> websockets are only available in trunk.
> Note that the units can be compiled with fpc 3.2.2 just fine.

I tried but I failed:

-fcl-web depends on fcl-hash which is not available in 3.2.2
-fcl-hash depends on basenenc in fcl-base
-I copied basenenc.pp to fcl-hash and could compile it
-then fcl-web uses fpthreadpool.pp, copied it from trunk
-then fcl-web fails to compile:

fphttpserver.pp(1068,39) Error: identifier idents no member "CanRead"
fphttpserver.pp(1634) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted


More information about the Pas2js mailing list