2012/4/26 ZHANG Dao-yuan <1123mon...@gmail.com>: > 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.
You might want to have a look at http://code.google.com/p/fprb/wiki/TheCmpBTreeMap -jan _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal