Hi Michael,
Thank you! I will be looking into the code, and see if I can add the
functionality with some switch. We may redo the code, however it will
probably take well over a year for fully rewriting it all, and it may not be
necessarily a smart thing. Delphi unlike C++ does not have any form of
function or block enclosement, and the interfaces are the closest thing to
functional enclosement we have, aside from the error prone try/finally pair.
If we lose it, we lose a major development tool :-( . It surely downgrades
the Pascal language a notch. I hope however that sometime in the future we
will finally have a real functional enclosement in Pascal, but who know ;-)
.
With best regards,
Boian Mitov
--------------------------------------------------------------------
Mitov Software
http://www.mitov.com
--------------------------------------------------------------------
----- Original Message -----
From: "Michael Van Canneyt" <[EMAIL PROTECTED]>
To: "FPC developers' list" <fpc-devel@lists.freepascal.org>
Sent: Thursday, June 19, 2008 5:00 AM
Subject: Re: [fpc-devel] Need patch for bugs : 0011503 / 0009472
It should IMHO not be too hard to make a switch -Osomething which forces
immediate release of temps. That should ensure Delphi compatible
behaviour - possibly at the cost of some performance.
If you can provide a patch to implement such a switch, I'm pretty
confident
it will be included.
But Jonas is correct in his statement that you are relying on some
implementation detail which you should not rely on. That it works
for you in Delphi is pure luck, and the right thing to do is to
review your code.
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel