Sign in Join

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

Mailing lists / lazarus / 2011-08

Compile error Lazarus

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Darius Blaszyk

I tried compiling Lazarus today on my mac with latest FPC and got the following compile error:

/Users/dariusblaszyk/freepascal/lazarus/components/jcf2/Ui/Settings/frCompilerDirectReturns.pas(88,27) Error: Abstract methods can't be called directly

Regards, Darius

Reply by email

Hans-Peter Diettrich
to Darius Blaszyk
I tried compiling Lazarus today on my mac with latest FPC and got the following compile error: /Users/dariusblaszyk/freepascal/lazarus/components/jcf2/Ui/Settings/frCompilerDirectReturns.pas(88,27) Error: Abstract methods can't be called directly

That line reads how?

Such an error may result from class completion, when the codetools insert dummy "inherited" calls even to abstract methods, and the user forgot to provide useful code instead.

When that bug persists for a few more days, create an bug report.

DoDi

Reply by email

Darius Blaszyk
to Hans-Peter Diettrich

Strange... There must have been some old ppu files present. I just recompiled and now it worked.

Darius

Hans-Peter Diettrich wrote 18 lines
Darius Blaszyk schrieb: > I tried compiling Lazarus today on my mac with latest FPC and got the following compile error: > /Users/dariusblaszyk/freepascal/lazarus/components/jcf2/Ui/Settings/frCompilerDirectReturns.pas(88,27) Error: Abstract methods can't be called directly That line reads how? Such an error may result from class completion, when the codetools insert dummy "inherited" calls even to abstract methods, and the user forgot to provide useful code instead. When that bug persists for a few more days, create an bug report. DoDi -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Vincent Snijders
to Darius Blaszyk

2011/8/12 Darius Blaszyk :

Strange... There must have been some old ppu files present. I just recompiled and now it worked. Darius

Strange indeed, I committed a fix for that only 5 minutes ago.

Show quoted text 7 lines
On Aug 12, 2011, at 9:38 PM, Hans-Peter Diettrich wrote: > Darius Blaszyk schrieb: >> I tried compiling Lazarus today on my mac with latest FPC and got the following compile error: >> /Users/dariusblaszyk/freepascal/lazarus/components/jcf2/Ui/Settings/frCompilerDirectReturns.pas(88,27) Error: Abstract methods can't be called directly >

Vincent

Reply by email

Darius Blaszyk
to Vincent Snijders
Vincent Snijders wrote 6 lines
2011/8/12 Darius Blaszyk : > Strange... There must have been some old ppu files present. I just recompiled and now it worked. > > Darius Strange indeed, I committed a fix for that only 5 minutes ago.

It seems I mixed up the compiler. I used 2.4.2 again instead of 2.71. That explains a lot :) Thanks for fixing.

Show quoted text 16 lines
> > On Aug 12, 2011, at 9:38 PM, Hans-Peter Diettrich wrote: > >> Darius Blaszyk schrieb: >>> I tried compiling Lazarus today on my mac with latest FPC and got the following compile error: >>> /Users/dariusblaszyk/freepascal/lazarus/components/jcf2/Ui/Settings/frCompilerDirectReturns.pas(88,27) Error: Abstract methods can't be called directly >> Vincent -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email