std.algorithm.filter cannot call gc_malloc at compile time

John Colvin john.loughran.colvin at gmail.com
Tue Jul 9 12:44:22 PDT 2013


On Tuesday, 9 July 2013 at 19:06:36 UTC, monarch_dodra wrote:
> On Tuesday, 9 July 2013 at 16:48:20 UTC, John Colvin wrote:
>> On Tuesday, 9 July 2013 at 16:47:02 UTC, Meta wrote:
>>> On Tuesday, 9 July 2013 at 16:44:29 UTC, John Colvin wrote:
>>>> Fixed in git master. array was not ctfe-able until a few 
>>>> months back. What compiler version/release are you using?
>>>
>>> I'm using DPaste, but setting the compiler to use the latest 
>>> from GIT fixed it. Thanks!
>>
>> which dpaste is that? http://dpaste.dzfl.pl/ gives me the 
>> error even using "dmd 2.X Git"
>
> It's working for me on my local head. FYI, the problem was 
> fixed about a month ago:
> https://github.com/D-Programming-Language/phobos/pull/1305
>
> It doesn't work in my 2.063.2 though.
>
> "dmd 2.X Git" is probably not refreshed very often...?

Apparently not. It's a pity, it's not like building dmd etc. is 
something that takes a long time or needs any manual intervention.


More information about the Digitalmars-d-learn mailing list