[Issue 7893] New: Spec completely wrong for D variadic arguments on 64 bits
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 12 07:24:09 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7893
Summary: Spec completely wrong for D variadic arguments on 64
bits
Product: D
Version: D1 & D2
Platform: All
OS/Version: All
Status: NEW
Severity: blocker
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at yahoo.com.au> 2012-04-12 07:24:53 PDT ---
The spec talks about
"argptr, which is a void* pointer to the first of the variadic arguments. To
access the arguments, _argptr must be cast to a pointer to the expected
argument type: " ...
Although this was correct for 32 bits, it is now complete nonsense -- it
produces garbage on 64 bits. And it compiles silently.
I think this is the most severe spec bug ever.
--
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