[fpc-devel] Lazarus doesn't compile with the latest cvs

Florian Klaempfl florian at freepascal.org
Sun Feb 27 22:22:57 CET 2005

Joost van der Sluis wrote:

> Hi all,
> I tried to compile lazarus(cvs) with 1.9.9 and got this error:
> lclproc.pas(832,8) Error: Illegal type conversion: "Text" to "<record
> type>"
> on this line:
>     if TextRec(Output).Mode=fmClosed then
> Mode and fmClosed are integers. Can anyone help me with this? (1.9.8
> works fine)

Recompile everything, the size of textrec changed so units and compiler 
must match.

More information about the fpc-devel mailing list