'int' is enough for 'length' to migrate code from x86 to x64

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 20 19:11:33 PST 2014


On 11/20/2014 3:25 PM, bearophile wrote:
> Walter Bright:
>
>> If that is changed to a signed type, then you'll have a same-only-different
>> set of subtle bugs,
>
> This is possible. Can you show some of the bugs, we can discuss them, and see if
> they are actually worse than the current situation.

All you're doing is trading 0 crossing for 0x7FFFFFFF crossing issues, and 
pretending the problems have gone away.


More information about the Digitalmars-d mailing list