Sign in Join

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

Mailing lists / lazarus / 2009-04

Failed to compile Lazarus

5 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Antonio Sanguigni

Hi guys,

I just updated my lazarus linux box at svn rev19689.

Make now gives me this error:

Compiling graphics.pp
canvas.inc(88,24) Error: identifier idents no member "SetClipping" graphics.pp(2489) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `/home/antonio/lazarus/lcl' make: *** [lcl] Error 2

I tried to comment out the statement that that follows because it seems SetClipping is not present into ancestor TFPCustomCanvas. It seems to compile now but I don't know if this or if it is better to analyze the ifdef for override - reintroduce into TCanvas.SetClipping interface method class.

procedure TCanvas.SetClipping(const : boolean);
begin
//  inherited SetClipping(AValue);
  if AValue then
    SetClipRect(inherited GetClipRect)
  else
    SelectClipRGN(Handle, 0);
end;

Thank you
Antonio

Antonio Sanguigni alias slapshot ---------------------------------------------------------------------- GioveLUG (Linux User Group) - http://www.giovelug.org Edupup (Educational distro) - http://www.pieroni.biz/edupup -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090429/40aadb85/attachment.html

Reply by email

Marco van de Voort
to Antonio Sanguigni: I just updated my lazarus linux box at svn rev19689. Make now gives me this error:…
Antonio Sanguigni wrote 14 lines
I just updated my lazarus linux box at svn rev19689. Make now gives me this error: Compiling graphics.pp canvas.inc(88,24) Error: identifier idents no member "SetClipping" graphics.pp(2489) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `/home/antonio/lazarus/lcl' make: *** [lcl] Error 2 I tried to comment out the statement that that follows because it seems SetClipping is not present into ancestor TFPCustomCanvas.

(It is, but only since this morning)

Reply by email

zeljko
to Marco van de Voort
Marco van de Voort wrote 17 lines
On Wed, Apr 29, 2009 at 01:20:42PM +0200, Antonio Sanguigni wrote: > I just updated my lazarus linux box at svn rev19689. > > Make now gives me this error: > > Compiling graphics.pp > canvas.inc(88,24) Error: identifier idents no member "SetClipping" > graphics.pp(2489) Fatal: There were 1 errors compiling module, stopping > Fatal: Compilation aborted > make[1]: *** [alllclunits.ppu] Error 1 > make[1]: Leaving directory `/home/antonio/lazarus/lcl' > make: *** [lcl] Error 2 > > I tried to comment out the statement that that follows because it seems > SetClipping is not present into ancestor TFPCustomCanvas. (It is, but only since this morning)

but not in 2.2.5 ? or it'll come there too ?

Reply by email