Cannot compile betterC app in windows using stderr

Steven Schveighoffer schveiguy at gmail.com
Fri Feb 4 00:54:50 UTC 2022


On 2/3/22 5:13 PM, kinke wrote:
> On Thursday, 3 February 2022 at 21:56:27 UTC, Steven Schveighoffer wrote:
>> Since pragma inline works now even without the -inline switch, could 
>> an inline function take the place of the macro?
> 
> Nope, sadly not - the problem is `&stderr` returning a function pointer 
> then, not the address of the symbol directly.

Ugh, yep. Damn us for not correctly implementing @property.

Would be the same problem with a template as well.

-Steve


More information about the Digitalmars-d mailing list