[Bug c++/85792] [8/9 Regression] #include <variant> triggers Wctor-dtor-privcay
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 18 19:58:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85792
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
CC| |nathan at gcc dot gnu.org
Known to work| |7.3.0
Summary|#include <variant> triggers |[8/9 Regression] #include
|Wctor-dtor-privcay |<variant> triggers
| |Wctor-dtor-privcay
Known to fail| |8.1.0, 9.0
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Regression starting with r250281:
* class.c (maybe_warn_about_overly_private_class): Ignore public
copy ctors.
* g++.dg/warn/ctor-dtor-privacy-3.C: New.
More information about the Gcc-bugs
mailing list