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

Benjamin Rosseaux benjamin at rosseaux.de
Fri Nov 20 12:40:15 CET 2020


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.

On Mon, Nov 9, 2020 at 8:26 PM Bart via fpc-devel <
fpc-devel at lists.freepascal.org> wrote:

> On Mon, Nov 9, 2020 at 3:56 PM Anton Shepelev via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
>
> > Did you try compiling it with FreePascal in Borland mode?
>
> Yes, I did, as the related (and now closed) bugreport shows.
> Anyhow, it should be fixed now.
> --
> Bart
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20201120/2d31cfb2/attachment.htm>


More information about the fpc-devel mailing list