Sign in Join

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

Mailing lists / lazarus / 2013-02

Error: Incompatible type for arg no. 1: Got "TFPPenEndCap", expected "TPenEndCap"

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Marcos Douglas

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

Reply by email

Frank Church
to Marcos Douglas
Marcos Douglas wrote 20 lines
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 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Frank Church ======================= http://devblog.brahmancreations.com

Reply by email

Marcos Douglas
to Marcos Douglas: I updated my FPC to 2.6.3 (rev 23658) and my Lazarus trunk (rev 40403) I'm using Windows.…
Marcos Douglas wrote 15 lines
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

Nobody has the same problem?

Marcos Douglas

Reply by email

patspiper
to Marcos Douglas
Marcos Douglas wrote 17 lines
On Mon, Feb 25, 2013 at 11:09 AM, Marcos Douglas 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 Nobody has the same problem?

Lazarus trunk compiles with FPC 2.7.1 and 2.6.2, but not 2.6.3. Pls submit a bug report.

Stephano

Reply by email

Mattias Gaertner
to patspiper
Show quoted text 20 lines
On 25/02/13 21:37, Marcos Douglas wrote: > On Mon, Feb 25, 2013 at 11:09 AM, Marcos Douglas 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 > Nobody has the same problem? Lazarus trunk compiles with FPC 2.7.1 and 2.6.2, but not 2.6.3. Pls submit a bug report.

Lazarus rev 40410 compiles with fpc 2.6.3.

Mattias

Reply by email

patspiper
to Mattias Gaertner
Mattias Gaertner wrote 24 lines
On Mon, 25 Feb 2013 22:43:36 +0200 patspiper wrote: > On 25/02/13 21:37, Marcos Douglas wrote: >> On Mon, Feb 25, 2013 at 11:09 AM, Marcos Douglas 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 >> Nobody has the same problem? > Lazarus trunk compiles with FPC 2.7.1 and 2.6.2, but not 2.6.3. Pls > submit a bug report. Lazarus rev 40410 compiles with fpc 2.6.3.

Thanks!

Stephano

Reply by email

Marcos Douglas
to Mattias Gaertner: On Mon, 25 Feb 2013 22:43:36 +0200 Lazarus rev 40410 compiles with fpc 2.6.3. Mattias
Mattias Gaertner wrote 25 lines
On Mon, 25 Feb 2013 22:43:36 +0200 patspiper wrote: > On 25/02/13 21:37, Marcos Douglas wrote: > > On Mon, Feb 25, 2013 at 11:09 AM, Marcos Douglas 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 > > Nobody has the same problem? > Lazarus trunk compiles with FPC 2.7.1 and 2.6.2, but not 2.6.3. Pls > submit a bug report. Lazarus rev 40410 compiles with fpc 2.6.3.

Yep, thank you.

Marcos Douglas

Reply by email