The error message needs to be extended for generics type. Inside TFPGList in implementation section, there are some comparisons done with relational operators (I forgot what they are, just open fgl.pp). You need to overload those operators for your record type. Surely, the compiler wouldn't know how to compare 2 TPar without the overloading. -- View this message in context: http://old.nabble.com/Generics-problem-question-tp27036004p27056130.html Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal