Avoid deprecated warnings about std::auto_ptr in library headers
authorJonathan Wakely <jwakely@redhat.com>
Fri, 21 Apr 2017 13:08:51 +0000 (14:08 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 21 Apr 2017 13:08:51 +0000 (14:08 +0100)
commita2c0a1942c16c58b39024aaecba443b84b3ad8f6
tree98cc5ef81715dbbb0ab702b455a08d5d56871520
parent2fd30fbe0d3a9525ec14e0102f3ebb0e80a2736e
Avoid deprecated warnings about std::auto_ptr in library headers

* include/backward/auto_ptr.h: Ignore deprecated warnings from use
of auto_ptr.
* include/bits/shared_ptr.h: Likewise.
* include/bits/shared_ptr_base.h: Likewise.
* include/bits/unique_ptr.h: Likewise.
* libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc: Adjust
dg-error lineno.
* libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc: Likewise.
* libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635_neg.cc:
Likewise.
* libstdc++-v3/testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc:
Likewise.

From-SVN: r247063
libstdc++-v3/ChangeLog
libstdc++-v3/include/backward/auto_ptr.h
libstdc++-v3/include/bits/shared_ptr.h
libstdc++-v3/include/bits/shared_ptr_base.h
libstdc++-v3/include/bits/unique_ptr.h
libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc
libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc
libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635_neg.cc
libstdc++-v3/testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc