[Lazarus] trunk compile error Win XP : Error: identifier idents no member StrikeThrough
Hi, i cannot compile actual lazarus trunk version: Stops here: procedure TLazCanvas.AssignFontData(AFont: TFPCustomFont); begin if AFont = nil then Exit; Font.FPColor := AFont.FPColor; Font.Name := AFont.Name; Font.Size := AFont.Size; Font.Bold := AFont.Bold; Font.Italic := AFont.Italic; Font.Underline := AFont.Underline; {$IF (FPC_FULLVERSION=20601) or (FPC_FULLVERSION=20701)} //changed in 2.6.1 and 2.7; remove when FPC 2.6.2+ only is supported Font.StrikeThrough := AFont.StrikeThrough; {$ELSE} Font.StrikeTrough := AFont.StrikeTrough; //old version with typo {$ENDIF} end; error message is: C:\lazarus\lcl\lazcanvas.pas(765,8) Error: identifier idents no member StrikeThrough Lazarus: Lazarus 1.1 r39792 FPC 2.6.1 i386-win32-win32/win64 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] trunk compile error Win XP : Error: identifier idents no member StrikeThrough
2013/1/23 John Landmesser joh...@online.de: Hi, i cannot compile actual lazarus trunk version: Is your fpc 2.6.1 version up to date? Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] trunk compile error Win XP : Error: identifier idents no member StrikeThrough
Am 23.01.2013 15:56, schrieb Vincent Snijders: Is your fpc 2.6.1 version up to date? Vincent Thanks for this tipp, now it compiles ok! But: I had fpc 2.6.1 from 2012 and now i extracted fpc 2.6.1 from a snapshot. There are differences between 2.6.1 and 2.6.1 ??? I have to keep that in mind! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] trunk compile error Win XP : Error: identifier idents no member StrikeThrough
On 23-1-2013 16:32, John Landmesser wrote: Am 23.01.2013 15:56, schrieb Vincent Snijders: I had fpc 2.6.1 from 2012 and now i extracted fpc 2.6.1 from a snapshot. There are differences between 2.6.1 and 2.6.1 ??? Yes. And there are differences between 2.7.1 and 2.7.1 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] trunk compile error Win XP : Error: identifier idents no member StrikeThrough
Am 23.01.2013 16:32, schrieb John Landmesser: Am 23.01.2013 15:56, schrieb Vincent Snijders: Is your fpc 2.6.1 version up to date? Vincent Thanks for this tipp, now it compiles ok! But: I had fpc 2.6.1 from 2012 and now i extracted fpc 2.6.1 from a snapshot. There are differences between 2.6.1 and 2.6.1 ??? I have to keep that in mind! 2.6.1 as well as 2.7.1 are no constant releases. 2.7.1 is the development version where the main development takes place and 2.6.1 is the fixes branch (not a fixes release!) to which selected revisions from 2.7.1 are merged to form 2.6.2 somewhen in the (hopefully not too far) future. 2.6.2 will be a stable release again. Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus