Recent

Author Topic: RichMemo not building with Laz Trunk  (Read 2710 times)

dbannon

  • Hero Member
  • *****
  • Posts: 2778
    • tomboy-ng, a rewrite of the classic Tomboy
RichMemo not building with Laz Trunk
« on: September 23, 2020, 02:11:28 pm »
Using current Lazarus Trunk and FPC320 on Linux, installing Richmemo and getting an error. Now, the OPM does warn me its not not tested with FPC320 but this looks like a Lazarus issue to me.

Richmemo,  line 789 of gtk2richmemo.pas has this -

Code: Pascal  [Select][+][-]
  1.   {$ifdef RMLCLTRUNK}
  2.   GetWidgetInfo(Widget)^.CoreWidget := TempWidget;
  3.   {$else}
  4.   GetWidgetInfo(Widget, True)^.CoreWidget := TempWidget;
  5.   {$endif}

RMLCLTRUNK is apparently not defined and we call GetWidgetInfo(Widget, True) but Lazarus Trunk has not had a version of GetWidgetInfo that takes two parameters since August 2019.

So, should RMLCLTRUNK be defined, if so, where ?  Its mentioned in richmemopackage.lpk but not in a way that makes sense to me !

Davo

Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018