Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2018-06

TFPGObjectList error

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ryan Joseph

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

Reply by email