[fpc-pascal] _Release call location for unused function results
hnb.code at gmail.com
Tue Jan 30 00:19:38 CET 2018
2018-01-29 23:32 GMT+01:00 Zoë Peterson <zoe at scootersoftware.com>:
> Is Free Pascal's behavior intentional? Can it be changed to match Delphi?
the topic is well known. I have plan to add new modeswitch for that:
If you like you can try existing patch:
anyway somehow Delphi (undocumented) way seems bad. SCOPEDINTERFACEDESTROY
would be big help for legacy code ported from Delphi...
FPC has more elegant alternative way for the same thing, you can simple use
with Bar do
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal