Dub Packages not working with lastest DMD
Jeremy DeHaan via Digitalmars-d-ide
digitalmars-d-ide at puremagic.com
Sat May 6 22:40:35 PDT 2017
On Saturday, 18 February 2017 at 19:20:29 UTC, Jolly James wrote:
> A lot (if not all) dub packages by Brian Schott (Hackerpilot)
> do not compile using the latest stable DMD. Maybe someone can
> fix these or tell Brian.
>
> In order to use them I had to downgrade to DMD v2.071.2.
>
> The errors look like:
>
>> dub\packages\experimental_allocator-2.70.0-b1\experimental_allocator\src\std\experimental\allocator\package.d(322, 13):
>>
>>Error: std.experimental.allocator.common.Ternary at
>>
>>dub\packages\experimental_allocator-2.70.0-b1\experimental_allocator\src\std\experimental\allocator\common.d(14, 1)
>>
>>conflicts with std.typecons.Ternary at [...]
>
> And as his DCD is required for almost all plugins for generic
> text editors (VSCode, IntelliJ) to support D, this is a great
> problem.
I recently upgraded my version of DMD to 2.074 and experienced
this, and then found this thread.
Just wanted to say that in experimental_allocator-2.70.0-b1's
package.d, on lines 252&253, change the std.typecons import to be
static or remove it. This got everything except dscanner
building, but that appears to be for reasons other than the
experimental allocator.
More information about the Digitalmars-d-ide
mailing list