[fpc-pascal] TFPGObjectList error
Ryan Joseph
ryan at thealchemistguild.com
Sun Jul 1 01:55:05 CEST 2018
I’m trying to use TFPGObjectList but I get an error. Is the unit busted? If so is there another generic list class in the RTL?
type
TVec3List = specialize TFPGObjectList<TVec3>;
var
list: TVec3List;
begin
list := TVec3List.Create;
list.Add(V3(1,1,1));
list.Free;
/usr/local/lib/fpc/3.1.1/units/x86_64-darwin/rtl/fgl.ppu:fgl.pp:992: error: 14: identifier idents no member "Free"
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list