I have put a new "cumulative" diff on my GPC web page:
http://www.math.uni.wroc.pl/~hebisch/gpc/delphi14.diff
and
http://www.math.uni.wroc.pl/~hebisch/gpc/dbxout.diff
I have added a new option `--objects-are-references' (off by default, on for Mac Pascal) which choses reference model for objects. To get Mac semantics one has to use `--objects-are-references' and `--methods-always-virtual'.
Delphi support still is incomplete (most visibly GPC does not know about `TObject'), but constuctors and destructors mostly work (one can not call a destructor from within another destructor), in particular allocate and deallocate memory.
Adriaan van Os wrote:
I have compared various MacPascal object diffs posted on the gpc mailing list (to delphi3.diff) with delphi9.diff. I see that two patches are missing in Delphi9.diff. I guess the reason is
- the first patch is not to gpc but to gpidump
- the second patch is of later date.
Thanks for remainding me about gpidump patch. There are a few fixes that I found after delphi9.diff was made, the new diff collects them all (plus a new code, mostly for Delphi).