From d401595dda6bd6f2d654b76e2820e7c3941d8c9c Mon Sep 17 00:00:00 2001 From: Jan Schultke Date: Thu, 23 Oct 2025 06:15:51 +0200 Subject: [PATCH] [diff.expr] Include conversions involving pointers to cv void in the changes --- source/compatibility.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/compatibility.tex b/source/compatibility.tex index a46c9a71cc..1899f5c162 100644 --- a/source/compatibility.tex +++ b/source/compatibility.tex @@ -2967,7 +2967,8 @@ \diffref{conv.ptr} \change -Converting \tcode{\keyword{void}*} to a pointer-to-object type requires casting. +Converting a prvalue of type ``pointer to \cv{} \tcode{void}'' +to a pointer-to-object type requires casting. \begin{example} \begin{codeblock} char a[10]; @@ -2977,7 +2978,7 @@ } \end{codeblock} -C accepts this usage of pointer to \keyword{void} being assigned +C accepts this usage of ``pointer to \keyword{void}'' being assigned to a pointer to object type. \Cpp{} does not. \end{example}