[fpc-devel] new features and facilities

Sven Barth pascaldragon at googlemail.com
Sat Oct 10 09:24:46 CEST 2015


Am 09.10.2015 23:11 schrieb "Dmitry Boyarintsev" <skalogryz.lists at gmail.com
>:
>
> On Fri, Oct 9, 2015 at 5:04 PM, Sven Barth <pascaldragon at googlemail.com>
wrote:
>>
>> Yes a compiler intrinsic could handle that. In the end all three
syntaxes are the same code representation anyway: namely an if-node.
>> The IfThen() intrinsic would be fine with me as well. Let's call this
our common ground ;)
>
> I wonder if replacing Ifthen() inline function, with a common intrinsic
keeps the compatibility.

One could force the correct behavior, because the intrinsic is in System
while the inline function AFAIK isn't. Thus one could prefix the unit name
if needed.

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


More information about the fpc-devel mailing list