[Issue 670] New: _argptr is char *
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 9 14:30:06 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=670
Summary: _argptr is char *
Product: GDC
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: glue layer
AssignedTo: dvdfrdmn at users.sf.net
ReportedBy: akaquinn at hotmail.com
On DMD, _argptr is a void *, on GDC it's a char *. This is fairly minor, but
I've ended up having to add casts for it in all sorts of code to make it
compile on GDC. Because AFAIK there's no compelling reason for it to be a char
* instead of a void *, I think it should be changed.
Yes, people should use std.stdarg's va_list ... but they don't X_X
--
More information about the D.gnu
mailing list