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

Sven Barth pascaldragon at googlemail.com
Thu Aug 16 09:54:24 CEST 2012


Am 16.08.2012 09:12, schrieb Michael Schnell:
> 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 ?

As is always told in such situation: compiling trunk (2.7.1) or fixes 
head (2.6.1) is ONLY supported by the last released version of FPC 
(2.6.0) and a compiler of the exact same revision (mostly for cross 
compilation). Everything else is not guaranteed to work. The error above 
is the result you get when compiling trunk from an older trunk version, 
which is not supported.

Regards,
Sven




More information about the fpc-devel mailing list