[fpc-devel] Fpc does not allow Chr() in type definition. Bug?

Sven Barth pascaldragon at googlemail.com
Fri Nov 20 13:07:15 CET 2020


Benjamin Rosseaux via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am
Fr., 20. Nov. 2020, 12:40:

> With the latest systemh.inc regarding  this,  the building of FPC SVN
> Trunk for the x86_64-win64 target with FPC 3.2.x as bootstrap compiler is
> failing:
>
> E:/FPC/bootstrap/ppcx64.exe -XX -Cr- -CR- -Ct- -Co- -CO- -C3- -g -Ur -Xs
> -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUE:/FPC/svn/rtl/units/x86_64-win64
> -dtls_threadvars -O2 -dSPILLING_NEW -g -dx86_64 -dRELEASE  -Us -Sg
> system.pp -Fi../win
> generic.inc(902,11) Error: Identifier not found "chr"
> generic.inc(914,19) Error: Identifier not found "chr"
> generic.inc(950,13) Error: Identifier not found "chr"
> generic.inc(1010,14) Error: Identifier not found "Chr"
> generic.inc(1029,10) Error: Identifier not found "chr"
> generic.inc(1090,9) Error: Identifier not found "chr"
> generic.inc(1272,11) Error: Identifier not found "chr"
> sstrings.inc(24,9) Error: Identifier not found "chr"
> sstrings.inc(44,25) Error: Identifier not found "chr"
> sstrings.inc(60,12) Error: Identifier not found "Chr"
> sstrings.inc(97,9) Error: Identifier not found "chr"
> sstrings.inc(121,9) Error: Identifier not found "chr"
> sstrings.inc(397,14) Error: Identifier not found "chr"
> sstrings.inc(411,15) Error: Identifier not found "chr"
> sstrings.inc(714,16) Error: Identifier not found "Chr"
> sstrings.inc(773,26) Error: Identifier not found "chr"
> sstrings.inc(790,13) Error: Identifier not found "chr"
> sstrings.inc(827,13) Error: Identifier not found "Chr"
> sstrings.inc(829,13) Error: Identifier not found "Chr"
> text.inc(1747,9) Error: Identifier not found "chr"
> system.pp(651) Fatal: There were 20 errors compiling module, stopping
> Fatal: Compilation aborted
>
> So I did undo the change locally for to be able building it again.
>

Did you really use the latest? Cause yes, there was a problem directly
after changing this, but nowadays it works with both 3.0.4 and 3.2.0.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20201120/9b5ff540/attachment.htm>


More information about the fpc-devel mailing list