[fpc-devel] 2.1.1 SVN revision doesn't compile

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Sep 18 09:02:34 CEST 2006


Got an update 5 minutes ago did a 'make clean' and 'make install' and
got this compiler error.


as --32 -o /mnt/data/opt/fpc_2.1.1/src/rtl/units/i386-linux/gprt21.o
i386/gprt21.as
/mnt/data/opt/fpc_2.1.1/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc
-Fi../i386 -Fi../unix -Fii386 -FE.
-FU/mnt/data/opt/fpc_2.1.1/src/rtl/units/i386-linux -di386 -dRELEASE
-Us -Sg system.pp
systemh.inc(72,15) Error: Duplicate identifier "Real"
system.pp(36,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[7]: *** [system.ppu] Error 1
make[7]: Leaving directory `/mnt/data/opt/fpc_2.1.1/src/rtl/linux'
make[6]: *** [linux_all] Error 2
make[6]: Leaving directory `/mnt/data/opt/fpc_2.1.1/src/rtl'
make[5]: *** [rtl] Error 2
make[5]: Leaving directory `/mnt/data/opt/fpc_2.1.1/src/compiler'
make[4]: *** [next] Error 2
make[4]: Leaving directory `/mnt/data/opt/fpc_2.1.1/src/compiler'
make[3]: *** [ppc1] Error 2
make[3]: Leaving directory `/mnt/data/opt/fpc_2.1.1/src/compiler'
make[2]: *** [cycle] Error 2
make[2]: Leaving directory `/mnt/data/opt/fpc_2.1.1/src/compiler'
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `/mnt/data/opt/fpc_2.1.1/src'
make: *** [build-stamp.i386-linux] Error 2


Looking at the code it has this  at the location of the error.

---------------------
  { moved here from psystem.pas
    Delphi allows chose of overloaded procedure depending
    on Real <-> Double, so use type here, see also tw7425.pp (FK) }
{$ifndef VER2_0}
  Real = type Double;
{$endif VER2_0}
---------------------

Regards,
  - Graeme -


-- 
There's no place like 127.0.0.1



More information about the fpc-devel mailing list