DMD 0.153 release

Stewart Gordon smjg_1998 at yahoo.com
Thu Apr 13 13:53:24 PDT 2006


Walter Bright wrote:
> Bug fixes.
> 
> http://www.digitalmars.com/d/changelog.html

"Changed parameter types for std.date.MakeDate and std.date.MakeTime so 
they won't overflow."

What you've done here makes no sense to me.  Why is abusing the d_time 
type necessary to prevent an overflow?  I.e. how does any of the following:

- making the parameters long, considering that d_time is an alias of 
long anyway
- casting the ints to longs within the function
- making TicksPerHour et al long

still lead to an overflow?

I refer you back to

http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/2365

Also, why are none of the Make* and *FromTime functions documented?

Stewart.



More information about the Digitalmars-d-announce mailing list