diff mbox series

[committed] d: Document that TypeInfo-based va_arg is not implemented [PR108763]

Message ID 20230303194333.559903-1-ibuclaw@gdcproject.org
State New
Headers show
Series [committed] d: Document that TypeInfo-based va_arg is not implemented [PR108763] | expand

Commit Message

Iain Buclaw March 3, 2023, 7:43 p.m. UTC
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 mbox series

Patch

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