[Bug c++/115790] GCC doesn't emit a diagnostic for deprecated copy ctor

2024-07-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115790 --- Comment #2 from Andrew Pinski --- Also it is documented this way too: -Wdeprecated-copy (C++ and Objective-C++ only) Warn that the implicit declaration of a copy constructor or copy assignment operator is deprecated if the class has a user-p

[Bug c++/115790] GCC doesn't emit a diagnostic for deprecated copy ctor

2024-07-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115790 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED