CyberShadow / Digger

A tool to build D and bisect old D versions
Other
57 stars 9 forks source link

compilation error using dmd git head #11

Closed vl-01 closed 9 years ago

vl-01 commented 9 years ago

after checking out latest sources for Digger and dmd, I run:

rdmd --build-only digger

and get this:

ae/sys/file.d(277): Error: function ae.sys.file.atomic!(copy, "target/to/name/dst").atomic (const(char)[] _param_0, const(char)[] _param_1, Flag _param_2) is not callable using argument types (string, string) ae/sys/git.d(304): Error: cannot cast expression rem[cast(ulong)(zi + 1L)..ei] of type immutable(ubyte)[] to ubyte[20]

CyberShadow commented 9 years ago

ae/sys/file.d(277): Error: function ae.sys.file.atomic!(copy, "target/to/name/dst").atomic (const(char)[] _param_0, const(char)[] _param_1, Flag _param_2) is not callable using argument types (string, string)

Broken by a change in Phobos. Followed up here: https://github.com/D-Programming-Language/phobos/pull/2784#issuecomment-68117241

ae/sys/git.d(304): Error: cannot cast expression rem[cast(ulong)(zi + 1L)..ei] of type immutable(ubyte)[] to ubyte[20]

Broken by a change in DMD. Followed up here: https://github.com/D-Programming-Language/dmd/pull/4193#issuecomment-68117692

CyberShadow commented 9 years ago

Fixed in latest ae update.