- This topic has 1 reply, 1 voice, and was last updated 3 years, 5 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › kbmMemTable › Kbmmemtable 7.85 compile error on lazarus/fpc
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
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.