[fpc-devel] FPC 2.7.1 - variant.inc(82, 10) Error: Illegal type conversion: "Text" to "TextRec"

Marcos Douglas md at delfire.net
Wed Jul 25 15:23:18 CEST 2012


Hi,

I would like to report some errors when I tried to compile the FPC
2.7.1 at revision 21969 (I am using Windows).

[...]
make[6]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl'
make -C win32 all
make[7]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32'
W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p W:/md/dev/freepasca
l/compiler/2.7.1/rtl/units/i386-win32
W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386
 -Fi../win -FE. -FUW:/md/dev/freepascal/compiler/2.7.1/rtl/units/i386-win32 -di3
86 -dRELEASE -Us -Sg system.pp -Fi../win
variant.inc(82,10) Error: Illegal type conversion: "Text" to "TextRec"
variant.inc(84,15) Error: Constant and CASE types do not match
variant.inc(89,14) Error: Constant and CASE types do not match
system.inc(906,6) Error: Illegal type conversion: "Text" to "TextRec"
system.inc(908,6) Error: Illegal type conversion: "Text" to "TextRec"
system.inc(910,6) Error: Illegal type conversion: "Text" to "TextRec"
system.inc(912,6) Error: Illegal type conversion: "Text" to "TextRec"
system.inc(1116,25) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(82,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(83,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(84,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(85,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(85,23) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(86,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(88,13) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(89,15) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(90,13) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(92,13) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(112,8) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(113,12) Error: Constant and CASE types do not match
text.inc(113,21) Error: Constant and CASE types do not match
text.inc(113,30) Error: Constant and CASE types do not match
text.inc(116,12) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(117,20) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(117,42) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(120,14) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(121,14) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(122,14) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(124,20) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(124,42) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(125,9) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(127,9) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(128,9) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(137,8) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(138,11) Error: Constant and CASE types do not match
text.inc(138,20) Error: Constant and CASE types do not match
text.inc(138,29) Error: Constant and CASE types do not match
text.inc(139,13) Error: Constant and CASE types do not match
text.inc(146,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(147,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(148,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(151,6) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(152,5) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(154,12) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(154,33) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(157,4) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(189,6) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(191,9) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(199,12) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(199,34) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(199,34) Fatal: There were 50 errors compiling module, stopping
Fatal: Compilation aborted
make[7]: *** [system.ppu] Error 1
make[7]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32'
make[6]: *** [win32_all] Error 2
make[6]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/rtl'
make[5]: *** [rtl] Error 2
make[5]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/compiler'
make[4]: *** [next] Error 2
make[4]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/compiler'
make[3]: *** [ppc1.exe] Error 2
make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/compiler'
make[2]: *** [cycle] Error 2
make[2]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/compiler'
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1'
make: *** [build-stamp.i386-win32] Error 2

--
Marcos Douglas



More information about the fpc-devel mailing list