On 01/14/2018 03:31 AM, Jakub Jelinek wrote:
On Sat, Jan 13, 2018 at 04:14:38PM -0700, Martin Sebor wrote:
-The @option{-Wclass-memaccess} option is enabled by @option{-Wall}.
+The @option{-Wclass-memaccess} option is enabled by @option{-Wall}.  Casting

Perhaps "Explicitly casting" instead?  The implicit cast doesn't suppress it
and occurs whenever there isn't an explicit cast.

+the pointer to the class object to @code{void *} or to a type that can be
+safely accessed by the raw memory function suppresses the warning.


Sure.  I've committed r256677.

Martin

Reply via email to