[Issue 6502] New: failing with -release -inline -noboundscheck
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 15 21:10:09 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6502
Summary: failing with -release -inline -noboundscheck
Product: D
Version: D2
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bugzilla at digitalmars.com
--- Comment #0 from Walter Bright <bugzilla at digitalmars.com> 2011-08-15 21:10:03 PDT ---
The following program fails when compiled with -release -inline -noboundscheck
-------------
import std.process;
void main()
{
}
---------------
with the message:
\cbx\mars\druntime\import\core\time.di(253): 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)) does not match any
function template declarat
ion
\cbx\mars\druntime\import\core\time.di(253): 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)()
It is unclear if it is a druntime problem or a dmd bug.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list