[Bug c++/81327] [8 Regression] cast to void* does not suppress -Wclass-memaccess

ville.voutilainen at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jan 10 17:25:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327

--- Comment #13 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
I understand that, but considering that I plan to convince the committee that
the bit-blasts like Qt does should be well-defined, the warning is a bit eager,
cast or no cast. And since it does break existing users, I would prefer having
the warning be an opt-in rather than opt-out.


More information about the Gcc-bugs mailing list