[Issue 22558] [REG 2.098] Error: function 'core.stdc.stdio.vfprintf' 'pragma(printf)' functions must be 'extern(C) int vfprintf([parameters...], const(char)*, va_list)'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 1 21:39:06 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22558
Iain Buclaw <ibuclaw at gdcproject.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibuclaw at gdcproject.org
--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
What happens is that in dmd.typesem, it sees the identifier __builtin_va_list,
and blindly sets the type to `void*`, rather than using the already defined
alias that resolves to the correct type.
PR that introduced this behaviour: https://github.com/dlang/dmd/pull/13107
--
More information about the Digitalmars-d-bugs
mailing list