http://d.puremagic.com/issues/show_bug.cgi?id=6488

           Summary: DMD compiler bug
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: soar...@yeah.net


--- Comment #0 from soar...@yeah.net 2011-08-12 19:01:38 PDT ---
When I compile tools\rdmd.d with following options:

dmd -inline -J. -noboundscheck -nofloat -O -release rdmd.d

Compiler has this error:

Error: template core.time.TickDuration.to(string units,T) if ((units ==
"seconds" || units == "msecs" || units == "usecs" || units == "hnsecs" || units
== "nsecs") && (__traits(isIntegral,T) && T.sizeof >= 4)) cannot deduce
template function from argument types !("seconds",long)()

But if I compile rdmd.d with those options, all fine:

dmd -inline -J. -nofloat -O -release rdmd.d
dmd -J. -noboundscheck -nofloat -O -release rdmd.d
dmd -inline -J. -noboundscheck -nofloat -O rdmd.d

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to