2011/12/17 Juha Manninen <juha.mannine...@gmail.com> > 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. >
"Fatal: Syntax error, ">" expected but "CLASS" found" Works on 64-bit Linux. How can OSX affect generics syntax? Juha
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal