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

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Sep 18 09:11:14 CEST 2006


Nope, I had 2.1.1 from SVN dated last week Monday.  Every monday I get
the latest from SVN.  Now sitting at revision 4642.

I tried to comment those lines out, but then I get a undefined Real
type error at a different location.

Regards,
  - Graeme -


On 18/09/06, Vincent Snijders <vsnijders at quicknet.nl> wrote:
> Graeme Geldenhuys schreef:
> > 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}
> > ---------------------
>
> Did you use fpc 2.0.4 (the latest release) as starting compiler?
>
> Vincent
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>


-- 
There's no place like 127.0.0.1



More information about the fpc-devel mailing list