[Issue 24310] ImportC: varargs from Microsoft header incompatible with va_start
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 2 02:22:29 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24310
--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
I suspect it might work if we added to stdarg.d:
void __va_start(T)(va_list* ap, ref T parmn)
{
va_start(*ap, parmn);
}
and to __builtins.di:
alias __va_start = imported!"core.stdc.stdarg".__va_start;
--
More information about the Digitalmars-d-bugs
mailing list