[Issue 5698] va_arg sets wrong length for (u)short[]

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jan 26 04:46:16 PST 2015


https://issues.dlang.org/show_bug.cgi?id=5698

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |schveiguy at yahoo.com
         Resolution|---                         |FIXED

--- Comment #4 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I downloaded attachment, changed tango to core in both cases, compiles and runs
with 2.066.1, and outputs:

vararg_:
ubyte[].length = 3
ushort[].length = 3
short[].length = 3
uint[].length = 3
vararg:
ubyte[].length = 3
ushort[].length = 3
short[].length = 3
uint[].length = 3

On Macos X (64-bit).

--


More information about the Digitalmars-d-bugs mailing list