[Issue 5694] New: va_arg doesn't work with idouble and ifloat

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 4 05:08:05 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5694

           Summary: va_arg doesn't work with idouble and ifloat
           Product: D
           Version: unspecified
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: mathias.baumann at sociomantic.com


--- Comment #0 from Mathias Baumann <mathias.baumann at sociomantic.com> 2011-03-04 05:05:08 PST ---
Created an attachment (id=927)
test case showing the problem

In 64bit va_arg does not give back the correct pointer for the type idouble and
ifloat. I haven't tested more types so far, but I guess cfloat and cdouble will
give problems, too

see attached test case. In 32bit the outputs are the same, in 64bit not.

I only tested this on D1, but I assume it will have the same problems on D2

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


More information about the Digitalmars-d-bugs mailing list