[lazarus] Compile error

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Mon Dec 23 05:31:19 EST 2002




On Mon, 23 Dec 2002, Mattias Gaertner wrote:

> On Mon, 23 Dec 2002 11:10:29 +0100
> Jens Arm <Jens.Arm at gmx.de> wrote:
>
> > Hi
> >
> > I can't compile newest CVS:
> >
> > ....
> > Assembling gtkdef
> > Compiling gtkwinapiwindow.pp
> > gtkwinapiwindow.pp(209,49) Error: Incompatible type for arg no. 3: Got
> > BOOLEAN, expected LONGINT gtkwinapiwindow.pp(959) Fatal: There were 1
> > errors compiling module, stopping make[3]: *** [interfaces.ppu] Error 1
> > make[3]: Leaving directory `/home/tux/lazarus/lazarus/lcl/interfaces/gtk'
>
> Hmm, it seems, that the 1.1 compiler auto converts boolean to gint. Sounds
> like a bug.

It is. The variant support is the probable cause of this. It is being worked on,
please report this kind of error as much as possible.

Michael.






More information about the Lazarus mailing list