Am 12.10.2015 23:29 schrieb "Marco van de Voort" <mar...@stack.nl>:
>
> In our previous episode, Dmitry Boyarintsev said:
> > On Mon, Oct 12, 2015 at 4:01 PM, Marco van de Voort <mar...@stack.nl>
wrote:
> >
> > > (ifthen clashes name with the delphi functions of the same name in a
much
> > > used unit as math, the name should be different but the intrinsic
principle
> > > IMHO is best)
> > >
> > But they're inline functions. Thus when inline-d into the code, they're
> > acting as intrinsic.
>
> Are they? It sounds dangerous to me that inlining would suddenly not
> evaluate functions anymore.

It's should not be the case with functions, but with the right optimization
settings the compiler might optimize away statements/expressions that
otherwise would have generated exceptions.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to