H1 2015 Priorities and Bare-Metal Programming

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 2 16:30:30 PST 2015


On Monday, 2 February 2015 at 23:29:26 UTC, Walter Bright wrote:
> Now, when it can't inline, do you expect the compiler to 
> produce an error message?

Yes, this is the very point of such feature - telling that if 
code can't be inlined, it is effectively unusable.

> If so, what corrective action is the user faced with:
>
>    pragma(inline, some expression that determines the compiler 
> version and evaluates to true only if this particular function 
> can be inlined);

Prohibit this generally useless misfeature and keep base 
semantics useful.


More information about the Digitalmars-d mailing list