Broken examples

Ali Çehreli acehreli at yahoo.com
Sat Mar 6 09:38:54 UTC 2021


On 3/6/21 12:15 AM, Imperatorn wrote:
> On Saturday, 6 March 2021 at 01:30:35 UTC, MoonlightSentinel wrote:
>> On Friday, 5 March 2021 at 22:01:37 UTC, Imperatorn wrote:
>>> Any idea why?
>>
>> The examples are compiled using an older host compiler (__VERSION__ is 
>> 2.093) but use features introduced in a later version. This will be 
>> fixed by upgrading the compiler (the examples are checked using 
>> current master IIRC).
> 
> Are you sure? 🤔
> 
> I tried switching to dmd-beta, dmd-nightly, ldc and ldc-beta and none of 
> them worked.

Are you getting the same errors with those dmd versions?

My locally installed compiler is dmd 2.094.2, which seems to be too old 
for parse's new doCount template parameter. (I look inside 
/usr/include/dmd/phobos/std/conv.d on my Linux installation to be sure.)

Ali



More information about the Digitalmars-d-learn mailing list