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

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 18 06:27:16 PST 2014


On Tue, 18 Nov 2014 14:24:16 +0000
FrankLike via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> > drop your C.
> >
> >   auto len = smth.length;
> >
> > works ok for both x86 and x86_64 (don't know what x64 is).
> 
> Many excellent projects such as dfl,dgui,tango, many 'length' 
> which type is 'int' or 'uint',they are D's,many people like 
> it.but they should migrate to 64 bit.So if 'length' type is 
> 'int',they can work on 64 bit,but now,they must be modify for 
> 'length''s type.
broken code must be fixed by the authors of the broken code. that code
is broken. authors must fix it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141118/cb7465c7/attachment.sig>


More information about the Digitalmars-d mailing list