[fpc-pascal] _Release call location for unused function results

Sven Barth pascaldragon at googlemail.com
Tue Jan 30 17:16:27 CET 2018

Am 30.01.2018 15:07 schrieb "Maciej Izak" <hnb.code at gmail.com>:

> > question is: would we like to enabling this for all Delphi modes?
> Everything that needs this is essentially feature abuse. I would not enable
> it by default

+1 . Anyway I am still considering : commit or not :P.

While I still don't want to have this switch no matter the legacy codebase
affected by it, if we add it we definitely don't add it enabled anywhere.
And please, maybe it "ScopedInterfaceRelease", not "-Destroy" as that is
what the functionality does.

Also I remember from some time back that someone (maybe even Jonas)
presented an example where Delphi does in fact behave different. I'd need
to find that again however. :/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180130/840f76f8/attachment.html>

More information about the fpc-pascal mailing list