November 27, 2010 Re: datetime review part 2 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Michel Fortin | On Saturday 27 November 2010 04:35:58 Michel Fortin wrote: > On 2010-11-26 20:50:16 -0500, Jonathan M Davis <jmdavisProg@gmx.com> said: > > By the way, did you run the full unit tests on Mac OS X, or did you just > > test and fix the Mac-specific changes that I made? I assume that the > > unit tests pass on > > Mac OS X, but I don't know. > > The unit tests in unittests.d and time.d pass fine, but datetime.d does not compile: > > datetime.d(26977): Error: undefined identifier tzset > datetime.d(27035): Error: template unittests.assertEqual(alias pred = > "a == b",T,U) if (__traits(compiles,binaryFun!(pred)(actual,expected)) > && isPrintable!(T) && isPrintable!(U)) does not match any function > template declaration > ... and the last error repeated a couple of time It looks like that's a bug in druntime. For some reason, it doesn't list tzset() for OSX in core.stdc.time. But according to this man page ( http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/10.5/man3/tzset.3.html ), it does exist on Mac OS X. - Jonathan M Davis | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply