Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-02

Lazarus doesn't compile with the latest cvs

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joost van der Sluis

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)

Met vriendelijke groeten, Joost van der Sluis CNOC Informatiesystemen en Netwerken http://www.cnoc.nl

Reply by email

Florian Klaempfl
to Joost van der Sluis
Joost van der Sluis wrote 14 lines
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.

Reply by email