[fpc-pascal] Class constructor called unconditionally

Sven Barth pascaldragon at googlemail.com
Thu Mar 31 15:49:15 CEST 2016


Am 31.03.2016 15:33 schrieb "silvioprog" <silvioprog at gmail.com>:
> After read this explanations, is there some compiler option to make FPC
with this same Delphi behaviour? I'm using MODE DELPHI.

No, there is not. Currently class constructors (and destructors) are called
always.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160331/c5ac7223/attachment.html>


More information about the fpc-pascal mailing list