http://d.puremagic.com/issues/show_bug.cgi?id=5698
Summary: va_arg sets wrong length for (u)short[] Product: D Version: unspecified Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: mathias.baum...@sociomantic.com --- Comment #0 from Mathias Baumann <mathias.baum...@sociomantic.com> 2011-03-04 10:07:48 PST --- Created an attachment (id=929) test case demonstrating the problem va_arg sets wrong length for ushort[] the attached program outputs: vararg_: ubyte[].length = 3 ushort[].length = 140737237065760 short[].length = 139885158469104 uint[].length = 3 vararg: ubyte[].length = 3 ushort[].length = 0 short[].length = 0 uint[].length = 3 I tested with D1, but the bug is possibly also existant in D2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------