dmd 1.046 and 2.031 releases

Derek Parnell derek at psych.ward
Mon Jul 6 02:15:38 PDT 2009


On Mon, 06 Jul 2009 00:11:26 -0700, Walter Bright wrote:

> Derek Parnell wrote:
>> I'm struggling to see why the compiler cannot just disallow any
>> signed<->unsigned implicit conversion? Is it a matter of backward
>> compatibility again?
> 
> What's the signed-ness of 5?

Positive. A positive number can be assigned to an 'int' if there is no size
issue. What's the problem that I'm obviously missing?
 
> When you index a pointer, is the index signed or unsigned?

An index can be either. What's the problem here?

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell


More information about the Digitalmars-d-announce mailing list