pragma(inline, true) errors?
jmh530
john.michael.hall at gmail.com
Fri Apr 2 19:12:25 UTC 2021
On Friday, 2 April 2021 at 18:21:59 UTC, Steven Schveighoffer
wrote:
> [snip]
>
> Yes that is exactly the case. With -w or no switch there is no
> error or warning. And no inlining.
>
> -Steve
So the argument is that it is consistent with the spec, but not
with the expected behavior after 2.094.0. For whatever reason, I
assumed that the change in 2.094.0 was for the spec too, and not
just DMD. A little hard to keep track...
More information about the Digitalmars-d
mailing list