[Issue 14546] "ClockType.uptime is not supported by MonoTimeImpl on this system"

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri May 8 04:46:09 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14546

--- Comment #3 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
I'll try and put something together this evening. Martin created a pull request
that attempted to fix it

https://github.com/D-Programming-Language/druntime/pull/1257

but it's running afoul of the same compiler bug that previous version of the
ClockType/MonoTimeImpl PR did. If we could put the static constructor inside of
MonoTimeImpl itself (as that PR did originally), then we wouldn't be hitting
this problem with the docs, but a dmd bug prevents it. :(

I think that I can fix it by simply using version(CoreDdoc) in key places, but
I don't know how much I'll be forced to version to make the docs build -
hopefully not a lot.

Regardless, this situation makes me wonder if we should add the documentation
build to the autotester to catch this sort of thing in the future.

--


More information about the Digitalmars-d-bugs mailing list