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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 10 17:20:00 GMT 2018


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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Every GCC release comes with a http://gcc.gnu.org/gcc-7/porting_to.html
(similarly for other releases and we'll have one for gcc-8 too), and especially
with -Werror people need to adjust their codes not just for stuff that is newly
flagged as errors, but also for the warnings.  If we were required not to issue
any new warnings on some set of packages, we could probably never introduce new
warnings at all.


More information about the Gcc-bugs mailing list