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