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

2017-11-21 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327

--- Comment #3 from Ville Voutilainen  ---
By the way, this doesn't just block building Qt, but also using it for
development, because all uses of QVector that end up default-constructing an
element will run into this.

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

2017-08-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327

Eric Gallager  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-08-29
 CC||egallager at gcc dot gnu.org
 Ever confirmed|0   |1
   Severity|minor   |normal

--- Comment #2 from Eric Gallager  ---
Confirmed.

(In reply to Ville Voutilainen from comment #1)
> Note that this currently blocks building Qt with gcc 8. We could work around
> it by turning our void* casts to char* casts, but we have a preference for
> fixing this problem in the compiler.

Raising importance from minor to normal then.

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

2017-08-18 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81327

--- Comment #1 from Ville Voutilainen  ---
Note that this currently blocks building Qt with gcc 8. We could work around it
by turning our void* casts to char* casts, but we have a preference for fixing
this problem in the compiler.