[Bug c++/86342] Wdeprecated-copy in a header included from system directory
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 28 20:22:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86342
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jun 28 20:22:21 2018
New Revision: 262231
URL: https://gcc.gnu.org/viewcvs?rev=262231&root=gcc&view=rev
Log:
PR c++/86342 - -Wdeprecated-copy and system headers.
* decl2.c (cp_warn_deprecated_use): Don't warn about declarations
in system headers.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/depr-copy2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl2.c
More information about the Gcc-bugs
mailing list