[Issue 11955] win32 foreach "size_t" degrades to "uint"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 20 04:36:18 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11955


Jakob Ovrum <jakobovrum at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


--- Comment #2 from Jakob Ovrum <jakobovrum at gmail.com> 2014-01-20 04:36:17 PST ---
(In reply to comment #1)
> (In reply to comment #0)
> > I only tested this on win_32, so I don't know how the other os's (linux), or
> > versions (64) behave.
> 
> `size_t` is supposed to alias to `uint` for 32-bit targets, and `ulong` for
> 64-bit targets.
> 
> See line 20 of object.di:
> ---
> alias typeof(int.sizeof)                    size_t;
> ---

Nevermind, I see what the bug is now.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list