std.algorithm.filter cannot call gc_malloc at compile time

monarch_dodra monarchdodra at gmail.com
Tue Jul 9 12:06:34 PDT 2013


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...?


More information about the Digitalmars-d-learn mailing list