On 27 Aug 2011, at 00:16, Sven Barth wrote: > I have now ported most of the contents of the android namespace to Pascal. > First I tried to put the subnamespaces into their own units, but that started > to result in some nasty circles that involved parent classes and what not... > now I have simply put the complete android namespace into one unit and at > first I had quite a few order problems to solve
BTW: the javapp program normally solves the ordering problem for you. However, it can't do that if there are circular references... Normally, you'd solve those by specifying the classes whose removal results in breaking the circle(s) using the "-a" parameter of javapp (it will then turn those classes into an empty definition), but that only works for top-level classes. Jonas_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel