| Thread overview | |||||
|---|---|---|---|---|---|
|
August 15, 2011 [D-runtime] failure with new druntime core/time.d | ||||
|---|---|---|---|---|
| ||||
This only happens on Windows with -release -inline -noboundscheck -------------------------------------------------------------- H:\cbx\mars\test>..\dmd test72 -release -inline -noboundscheck \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)() ------------------------------------------------------- H:\cbx\mars\test>type test72.d import std.process; void main() { } ----------------------------------------------------- | ||||
August 15, 2011 [D-runtime] failure with new druntime core/time.d | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright |
On 8/15/2011 1:12 PM, Walter Bright wrote:
> This only happens on Windows
The other platforms too.
| |||
August 15, 2011 [D-runtime] failure with new druntime core/time.d | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | http://d.puremagic.com/issues/show_bug.cgi?id=6502 On 8/15/2011 1:12 PM, Walter Bright wrote: > \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)() | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply