Hi, GDC's run-time library doesn't implement the RTTI-based overload of va_arg, document it on the missing features page.
Bootstrapped and regression tested, committed to mainline. Regards, Iain. --- PR d/108763 gcc/d/ChangeLog: * implement-d.texi (Missing Features): Document that TypeInfo-based va_arg is not implemented. --- gcc/d/implement-d.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/d/implement-d.texi b/gcc/d/implement-d.texi index 89a17916a83..039e5fbd24e 100644 --- a/gcc/d/implement-d.texi +++ b/gcc/d/implement-d.texi @@ -2511,4 +2511,10 @@ version (GNU) @} @end smallexample +@item TypeInfo-based va_arg +The Digital Mars D compiler implements a version of @code{core.vararg.va_arg} +that accepts a run-time @code{TypeInfo} argument for use when the static type +is not known. This function is not implemented by GNU D. It is more portable +to use variadic template functions instead. + @end table -- 2.37.2