build problem with xfbuild

Richard Webb webby at beardmouse.org.uk
Thu Jun 10 15:46:07 PDT 2010


If i try to use DMD 2.047 and xfbuild to compile a file which just contains

module arraytest;
import std.array;

I get the error:

F:\development\DTesting\dmd2\windows\bin\..\..\src\phobos\std\format.d(1882):
Error: template std.array.Appender!(string).Appender.put(U) if
(isImplicitlyConvertible!(U,T) || isSomeChar!(T) && isSomeChar!(U)) does not
match any function template declaration


F:\development\DTesting\dmd2\windows\bin\..\..\src\phobos\std\format.d(1882):
Error: template std.array.Appender!(string).Appender.put(U) if
(isImplicitlyConvertible!(U,T) || isSomeChar!(T) && isSomeChar!(U)) cannot
deduce template function from argument types !()(char[])


I don't have a simple repro just using DMD, but the error seems to originate
from line 695 of array.d (at least, commenting it out or changing it to

       put!(Unqual!T[])(encoded[0 .. len]);

allows it to compile.
Anyone got any ideas?

Thanks,
Richard Webb


More information about the Digitalmars-d-learn mailing list