diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2010-08-10 10:08:56 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2010-08-10 10:08:56 +0000 |
commit | 5aadb69b902fee99885e81999ca9d4c2042464ed (patch) | |
tree | 2ff98037ddef320ccc59d8fd077a61a69222b547 /gcc | |
parent | e80c2726d26a882c2ef35108b46aa5981a7a4513 (diff) | |
download | gcc-5aadb69b902fee99885e81999ca9d4c2042464ed.zip gcc-5aadb69b902fee99885e81999ca9d4c2042464ed.tar.gz gcc-5aadb69b902fee99885e81999ca9d4c2042464ed.tar.bz2 |
cons_overflow_neg.cc: Avoid -Wall warnings.
2010-08-10 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Avoid -Wall
warnings.
* include/bits/shared_ptr.h (shared_ptr<>::shared_ptr
(const shared_ptr<>&), shared_ptr(shared_ptr<>&&), weak_ptr<>::
weak_ptr(const weak_ptr<>&), weak_ptr(const shared_ptr<>&)):
Constrain appropriately via std::is_convertible, etc.
* include/bits/shared_ptr_base.h: Likewise.
* include/bits/unique_ptr.h (default_delete<>::
default_delete(const default_delete<>&),
unique_ptr<>::unique_ptr(unique_ptr<>&&), operator=(unique_ptr<>&&)):
Likewise.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
line numbers.
* testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.
* include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(auto_ptr<>&&)):
Add.
* include/std/memory: Adjust includes order.
* testsuite/20_util/unique_ptr/cons/auto_ptr.cc: New.
* testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
* testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Minor tweaks.
From-SVN: r163053
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions