[fpc-pascal] Generics and Mac

Juha Manninen juha.manninen62 at gmail.com
Sat Dec 17 18:11:57 CET 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20111217/488690d2/attachment.html>


More information about the fpc-pascal mailing list