[fpc-devel] Simple cast compiled as AS with -CR

Sven Barth pascaldragon at googlemail.com
Sat Dec 31 09:38:17 CET 2016


Am 30.12.2016 10:46 schrieb "Ondrej Pokorny" <lazarus at kluug.net>:
> Why I ask: this hack is used in the LCL to access protected methods -
i.e. the LCL doesn't work correctly with -CR.

In addition to what Jonas wrote: use class helpers to access protected
methods as they are a supported way for that (and they already work since
2.6).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20161231/8d2e6779/attachment.html>


More information about the fpc-devel mailing list