https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109475
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jorge Pinto Sousa from comment #2) > Can you point me where, or by what option, when building from source are those > enabled? You should ask the distro for that support. Also -Wctor-dtor-privacy is not enabled by default either. apinski@xeond:~/src/upstream-gcc/gcc/gcc$ ~/upstream-gcc/bin/gcc -Q --help=warning | grep ctor-dtor-privacy -Wctor-dtor-privacy [available in C++, ObjC++] https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Warning-Options.html#index-Wtrigraphs Says: If -Wall is not given, this option is still enabled unless trigraphs are enabled. Which exactly what -std=c++14 does, it enables them.