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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to