I used generics in Lazarus code base for the first time, in TreeFilter
component:

  TTreeNodeList = specialize TFPGList<TTreeNode>;
and
  TBranchList = specialize TFPGObjectList<TBranch>;

I works for me on Windows and Linux, with FPC 2.4.4 and 2.6.0 RC1.
Now Zeljan reported it does not compile on Mac OSX 64-bit, using FPC 2.6.0
RC1.
What can cause it? My generics usage is the most basic possible.
Both TTreeNode and TBranch are simple classes.

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

Reply via email to