[fpc-pascal] Class constructor called unconditionally

silvioprog silvioprog at gmail.com
Thu Mar 31 16:16:28 CEST 2016


On Thu, Mar 31, 2016 at 10:58 AM, Vojtěch Čihák <vojtech.cihak at atlas.cz>
wrote:

> IMO compilers should be dogmatic otherwise one cannot rely on them. This
> looks to me like advocating wrong optimization.
>
>
>
> Blaazen
>

Thanks for reply Vojtěch, but are you referring to Delphi or FPC
optimization?

I think that FPC should keep the Delphi class constructor behaviour in MODE
DELPHI, allowing the programmers to port Delphi libraries to FPC, but ...

-- 
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160331/617771a3/attachment.html>


More information about the fpc-pascal mailing list