On Sat, 8 Dec 2018 at 18:58, Jakub Jelinek <ja...@redhat.com> wrote: > > g++ -c -pipe -O2 -fPIC -std=c++1z -fvisibility=hidden > > -fvisibility-inlines-hidden -ffunction-sections -fdata-sections > > -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 > > -W is an alias to -Wextra.
Yeah. Jason, I seem to have code that user-provides a copy constructor (seemingly for no particular reason), doesn't bother declaring a copy assignment operator, and still breaks magnificently. :) There is no bug in it; the assignment works as expected, so that's a false positive. I am going to suggest taking this warning out of -Wextra and making it completely separate for GCC 9.