December 18, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1739

           Summary: cannot cast "r" char[1u] to string implicitly
           Product: D
           Version: 2.008
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: davidl@126.com


stdio.d line 776:
FILE* fopen(string name, string mode = cast(string)"r")
{
    return std.c.stdio.fopen(toStringz(name), toStringz(mode));
}

I added cast(string), and the problem went away.


-- 

December 18, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1739


davidl@126.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from davidl@126.com  2007-12-17 21:20 -------
oh it's because i'm using a wrong phobos..


--