Waldek Hebisch dixit:
Adriaan van Os wrote:
[...]
-fborland-objects -fmac-objects -fooe-objects -fgnu-objects
Or maybe (since they are mutually exclusive) -fobject-model=xx, where xx is bp,delphi,mac,ooe or default. The default model links to the dialect setting.
I have already implemented the -fxxx-objects version. -fobject-model=xx requires more work...
But it does look more logical, compared with all the other recent changes (such as -march= instead of e.g. -mpentium), and less bloated.
By the way, I just digged out my old TP 6.01 manual and started throwing some random OOP code at gpc (20050217), and to my (but not too big) surprise everything worked as I remember from long ago. What, exactly, does "gnu objects" differently than borland (turbo pascal) as long as I use the object keyword?
TIA
bye, //mirabile