http://d.puremagic.com/issues/show_bug.cgi?id=5616
Summary: std.datetime: not cross-platform Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: ibuc...@ubuntu.com --- Comment #0 from Iain Buclaw <ibuc...@ubuntu.com> 2011-02-19 15:48:13 PST --- This is how not to write platform independent code: version(Posix) { //This should be in core.stdc.time, but it isn't, so //we're declaring it here. extern(C) { extern __gshared char* tzname[2]; extern __gshared int daylight; } } Breaks on FreeBSD because 'daylight' isn't defined in the standard C library. Regards. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------