Kbmmemtable 7.85 compile error on lazarus/fpc

Home Forums kbmMemTable Kbmmemtable 7.85 compile error on lazarus/fpc

Viewing 1 reply thread
  • Author
    Posts
    • #55181
      bpranoto
      Participant

      Hi,

      When installing kbmmemtable package versin 7.85 on Lazarus/fpc I got this error:

      kbmMemTypes.pas(50,48) Error: class type expected, but got “TkbmGObjectList$1.T”

      Line 50 is:

      TkbmGObjectList<T> = class(fgl.TFPGObjectList<T>);

      FPC version: 3.2.0

      Lazarus version : 2.0.10

      Strangely, line 49 which seems similar to line 50 doesn’t complain.

      @Kim, could you help please?

      Thank you

      • This topic was modified 3 years, 5 months ago by bpranoto.
    • #55183
      bpranoto
      Participant

      Looking the definition of  TFPGObjectList in fgl unit:

      generic TFPGObjectList<T: TObject> = class(TFPSList)
      private

      I change the offending line 50 in unit kbmMemTypes to:

      TkbmGObjectList<T:TObject> = class(fgl.TFPGObjectList<T>);

      Now it compiles fine. Hope it will be fixed.

      • This reply was modified 3 years, 5 months ago by bpranoto.
Viewing 1 reply thread
  • You must be logged in to reply to this topic.