[Issue 13125] Cannot implicitly convert string* to __va_list_tag*

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 13 12:49:02 PDT 2014


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

--- Comment #2 from Jacob Carlborg <doob at me.com> ---
(In reply to Walter Bright from comment #1)

> Doing what you're doing in this code is really not supportable.

Yeah, the code looks suspicious.

> I'm not sure what dwt is doing there, so don't have an immediate suggested
> fix.

I think the intention is to forward the varargs of "trace" [1] to
"doVarArgFormat" [2], but first prepend the "fmt" argument to the varargs.



[1]
https://github.com/d-widget-toolkit/base/blob/master/src/java/lang/util.d#L79

[2]
https://github.com/d-widget-toolkit/base/blob/master/src/java/lang/util.d#L385

--


More information about the Digitalmars-d-bugs mailing list