Recent

Author Topic: ExCtrls error compiling 2.2.4/3.2.2  (Read 486 times)

sstvmaster

  • Sr. Member
  • ****
  • Posts: 299
ExCtrls error compiling 2.2.4/3.2.2
« on: September 28, 2022, 02:03:02 pm »
Hi wp,

i got this message:
Quote
Kompiliere Package ExCtrlsPkg 0.0: Exit code 1, Fehler: 1
exeditctrls.pas(64,14) Error: There is no method in an ancestor class to be overridden: "SameValue(Currency;Currency):Boolean;"
greetings Maik

Windows 10,
- Lazarus 2.2.6 (stable) + fpc 3.2.2 (stable)
- Lazarus 2.2.7 (fixes) + fpc 3.3.1 (main/trunk)

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: ExCtrls error compiling 2.2.4/3.2.2
« Reply #1 on: September 28, 2022, 03:28:54 pm »
Probably due to changes in Lazarus trunk.
I thought Werner checked that the ExCtrl package would still compile with Laz 2.2.x.

You could I think either fix it in the ExCtrl package with a check for the correct LCL version (at compiletime), or copy the SpinEx unit from trunk into your current Lazarus and rebuild the LCL (should do that automatically when you rebuild your program).

Bart
« Last Edit: September 28, 2022, 03:36:33 pm by Bart »

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: ExCtrls error compiling 2.2.4/3.2.2
« Reply #2 on: September 28, 2022, 03:37:11 pm »
Undefine the directive SAMEVALUE_FIX at the top of the ExCtrls unit. In a quiet hour I'll have to figure out the correct version checks so that this directive is set automatically.

 

TinyPortal © 2005-2018