You are not logged in.
Is the Spidermonkey library compatible with FPC?
I tried to compile it and got a lot of this errors.
SynSMAPI.pas(4466,32) Error: Illegal type conversion: "jsval" to "jsval_layout"
The message goes away I add {$MODE DELPHI}, but it creates a conflict in Synopse.inc
Synopse.inc(183,4) Error: Mode switch "DELPHI" not allowed here
I also got an error about an unknown type 'uint' which is not present is it the same as an unsigned integer, and is it architecture dependent?
SynSMAPI.pas(4015,73) Error: Identifier not found "uint"
Last edited by vonH (2015-03-21 22:53:34)
Offline
We did not test SpiderMonkey libraries - i.e. SynSM and SynSMAPI units - with FPC yet.
It now compiles.
See http://synopse.info/fossil/info/49691283f8
But it targets only under Windows yet.
You need to compile your own version of the spidermonkey library .so file, using the supplied
Offline