Strange phobos errors

Trass3r un at known.com
Wed Jan 19 04:52:48 PST 2011


Currently I'm getting some strange phobos errors when trying to
compile my project:

C:\dmd\windows\bin\..\..\src\phobos\std\functional.d(177): Error:
static assert  "Bad binary function q{a == b}. You need to use a
valid D expression using symbols a of type dchar and b of type const
(char)[]."
C:\dmd\windows\bin\..\..\src\phobos\std\functional.d(180):
instantiated from here: Body!(dchar,const(char)[])
C:\dmd\windows\bin\..\..\src\phobos\std\algorithm.d(2149):
instantiated from here: result!(dchar,const(char)[])

The only phobos modules I directly use are std.string, std.traits and
std.stdio. Has anybody else encountered this? (dmd 2.051)
I already disabled unittests but this didn't help.

(my code is at http://bitbucket.org/trass3r/cl4d)


More information about the Digitalmars-d-learn mailing list