libstdc++: Prevent deprecation warnings from <tr1/shared_ptr>
authorJonathan Wakely <jwakely@redhat.com>
Thu, 29 Oct 2020 22:47:22 +0000 (22:47 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 29 Oct 2020 22:47:22 +0000 (22:47 +0000)
commit52ddf0d458f063f6c9e07e726f9b46206f71e4c4
tree620a0e36d6b7320aac388d5a9021122b58fa6632
parent13feb0234b136fbdc1dbfba3a9663fb4e1043f75
libstdc++: Prevent deprecation warnings from <tr1/shared_ptr>

libstdc++-v3/ChangeLog:

* include/tr1/shared_ptr.h (__shared_count, __shared_ptr)
(shared_ptr): Add diagnostic pragmas around uses of auto_ptr.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
Adust dg-error line numbers.
libstdc++-v3/include/tr1/shared_ptr.h
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc