[fpc-devel] FPC 2.7.1 r22088 fails with compiler error in fpdoc.

Michael Van Canneyt michael at freepascal.org
Thu Aug 16 09:37:11 CEST 2012



On Thu, 16 Aug 2012, Michael Schnell wrote:

> On 08/15/2012 06:03 PM, Michael Van Canneyt wrote:
>> 
>> Fixed in rev. 22092.
>
> 22097:
>
> Since several versions I get multiple of those:
>
> make -C linux all
> make[7]: Entering directory 
> `/home/mschnell/Downloads/svn/fpc/trunk/rtl/linux'
> /bin/mkdir -p /home/mschnell/Downloads/svn/fpc/trunk/rtl/units/i386-linux
> /usr/local/bin/fpc -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 
> -FE. -FU/home/mschnell/Downloads/svn/fpc/trunk/rtl/units/i386-linux -di386 
> -dRELEASE -Us -Sg system.pp
> variant.inc(82,10) Error: Illegal type conversion: "Text" to "TextRec"
> variant.inc(84,15) Error: Constant and CASE types do not match
>
>
> What compiler should I use to compile ?

You must do a "make cycle" in the main or compiler directory, 
with as a starting compiler version 2.6.0.

Usually, I do a
  make cycle PP=ppcx64-2.6.0

Michael.



More information about the fpc-devel mailing list