[fpc-pascal] fpc2js

Marcos Douglas B. Santos md at delfire.net
Wed Dec 6 13:00:24 CET 2017


On Wed, Dec 6, 2017 at 9:48 AM, Victor Campillo
<victor.campillo at gmail.com> wrote:
> Hi,
>
> Testing the preview that Michael was so kind to share, I found the next
> minor problems trying to compile the packages included, I think that
> everything is related to that the project is work in progress so nothing to
> worry much about.
>
>  * Package fcl_base
>      o The package is configured as "designtime and runtime" and this
>        cause that the IDE complains about missing register procedure if
>        you try to install.
>      o Inside the folder fcl-base there is a unit called "browserapp"
>        that is not used in the package which could be correct but I
>        mention it just in case you forgot to include it in the package.
>      o It does not include the command to call pas2js compiler.
>      o Adding the command to call pas2js and changing the package to
>        runtime just compile fine.
>  * Package fcl-db
>      o The package include the unit "restconnection" which is missing.
>      o Just removing restconnection, the package compile without problems.
>  * Package fpcunit
>      o The package include the unit "htmltestreport" which is missing.
>      o The package is configured as "designtime and runtime" and this
>        cause that the IDE complains about missing register procedure if
>        you try to install.
>      o It does not include the command to call pas2js compiler.
>      o Solving the previous remarks, the compilation fails with the message
> "plaintestreport.pas(166,6) Error: identifier not found "IRound""
>
>
> I will try to convert a little JavaScript project I have to pascal and use
> pas2js, I will let you know if I found any problems do it.

Thank you that work!

Best,
Marcos Douglas



More information about the fpc-pascal mailing list