Thanks for your makeshift :) . But the problem still confusing me. My code is in type-section and it's a declaration not a statement.
tFpGMap<tObject
The form of the code is similar to a comparision expression and `<' here looks like a less-than operator. But they are not. In my opinion, fpc should not take the declaration as a statement then try to search for the nonsense operator-overloaded methods. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal