[phobos] Deprecation of std.date
Jonathan M Davis
jmdavisProg at gmx.com
Sun Jan 16 18:52:38 PST 2011
On Sunday 16 January 2011 18:34:30 Andrei Alexandrescu wrote:
> Great, thanks. In the meantime, unfortunately std.datetime breaks Phobos
> unittests at least on OSX with an internal error message:
>
> Internal error: backend/cod2.c 4530
Well, the tests compile and pass on Linux and Windows (though the tests are
currently disabled on Windows unless you build with version=testStdDateTime
since, for some reason, when compiling the unittests for all of Phobos (instead
of just std.datetime), the compiler runs out of memory if the unit tests for
std.datetime are included: http://d.puremagic.com/issues/show_bug.cgi?id=5454 ).
From the message that you give there, it sounds like std.datetime's unit tests
fail to compile on OSX due to a compiler bug, and I really don't know what to do
about that. I could make it so that the unit tests only run on Linux instead of
Posix (unless you use version=testdStdDateTime), but I don't know if
std.datetime really works properly or OSX or not. At least with Windows, I know
that the tests pass as long as I run them separately. I don't have a Mac to play
around with though. So, I really don't know what to do about the Mac.
- Jonathan M Davis
More information about the phobos
mailing list