[Lazarus] Error: Incompatible type for arg no. 1: Got "TFPPenEndCap", expected "TPenEndCap"
Frank Church
vfclists at gmail.com
Mon Feb 25 16:18:36 CET 2013
On 25 February 2013 14:09, Marcos Douglas <md at delfire.net> wrote:
> Hi,
>
> I updated my FPC to 2.6.3 (rev 23658) and my Lazarus trunk (rev 40403)
>
> I'm using Windows.
> When I try to compile Lazarus, I got:
>
> W:\md\dev\freepascal\ide\laz\1.1\ide\syncolorattribeditor.pas(167,26)
> Error: Incompatible type for arg no. 1: Got "TFPPenEndCap", expected
> "TPenEndCap"
> W:\md\dev\freepascal\ide\laz\1.1\ide\syncolorattribeditor.pas(197,26)
> Error: Incompatible type for arg no. 1: Got "TFPPenEndCap", expected
> "TPenEndCap"
> W:\md\dev\freepascal\ide\laz\1.1\ide\syncolorattribeditor.pas(579)
> Fatal: There were 2 errors compiling module, stopping
>
> Best regards,
> Marcos Douglas
>
> --
I am interested in this although it relates to 2.6.0. Procedures
taking a TStrings which I could pass a TStringList before now raise an
error.
I had to change the procedures to use a TStringList.
Would compatibility require me to pass the TStrings field of a
TStringList to the called procedures so I wouldn't have to them?
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
Frank Church
=======================
http://devblog.brahmancreations.com
More information about the Lazarus
mailing list