[fpc-devel] FPC-JVM: Breaking up a cycle

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Aug 27 00:49:47 CEST 2011


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


More information about the fpc-devel mailing list