From 39b8cd70c25945a655f8262761036c215a60fd9c Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Sat, 3 Mar 2007 10:29:14 +0000 Subject: PR libstdc++/28080 (partial) 2007-03-03 Paolo Carlini PR libstdc++/28080 (partial) * include/bits/stl_algobase.h: Do not include , is enough; adjust __copy_aux declarations; remove declaration of copy overload for istreambuf_iterator / ostreambuf_iterator. * src/debug.cc: Include . * include/ext/rope: Include . * include/bits/char_traits.h: Include and . * include/bits/stl_algo.h: Remove declaration of find overload for istreambuf_iterator. * include/std/queue: Clean up includes. * include/std/stack: Likewise. * include/std/memory: Likewise. * include/std/algorithm: Likewise. * include/std/vector: Likewise. * include/std/deque: Likewise. * include/std/list: Likewise. * include/bits/stl_tree.h: Likewise. * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Adjust dg-error markers. * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise. * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise. * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise. * testsuite/23_containers/set/operators/1_neg.cc: Likewise. * testsuite/23_containers/map/operators/1_neg.cc: Likewise. * testsuite/20_util/auto_ptr/assign_neg.cc: Likewise. * include/ext/type_traits.h: Fix type of __max_digits10; clean up includes. * testsuite/util/testsuite_hooks.h: Do not include . * testsuite/util/testsuite_hooks.cc: Do it here. From-SVN: r122502 --- libstdc++-v3/include/std/algorithm | 5 ++--- libstdc++-v3/include/std/deque | 4 ++-- libstdc++-v3/include/std/list | 2 -- libstdc++-v3/include/std/memory | 3 +-- libstdc++-v3/include/std/queue | 13 ++++--------- libstdc++-v3/include/std/stack | 7 ++----- libstdc++-v3/include/std/vector | 4 ++-- 7 files changed, 13 insertions(+), 25 deletions(-) (limited to 'libstdc++-v3/include/std') diff --git a/libstdc++-v3/include/std/algorithm b/libstdc++-v3/include/std/algorithm index 7ffbf97..d579bbd 100644 --- a/libstdc++-v3/include/std/algorithm +++ b/libstdc++-v3/include/std/algorithm @@ -1,6 +1,7 @@ // -*- C++ -*- -// Copyright (C) 2001, 2002 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -63,8 +64,6 @@ #pragma GCC system_header #include -#include -#include #include #endif /* _GLIBCXX_ALGORITHM */ diff --git a/libstdc++-v3/include/std/deque b/libstdc++-v3/include/std/deque index 57c6e43..93ca4ca 100644 --- a/libstdc++-v3/include/std/deque +++ b/libstdc++-v3/include/std/deque @@ -1,6 +1,7 @@ // -*- C++ -*- -// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -62,7 +63,6 @@ #pragma GCC system_header -#include #include #include #include diff --git a/libstdc++-v3/include/std/list b/libstdc++-v3/include/std/list index 0a1ce13..10461a1 100644 --- a/libstdc++-v3/include/std/list +++ b/libstdc++-v3/include/std/list @@ -63,10 +63,8 @@ #pragma GCC system_header -#include #include #include -#include #include #ifndef _GLIBCXX_EXPORT_TEMPLATE diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory index c47d49c..f604ac9 100644 --- a/libstdc++-v3/include/std/memory +++ b/libstdc++-v3/include/std/memory @@ -1,6 +1,6 @@ // -*- C++ -*- -// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -54,7 +54,6 @@ #include #include #include -#include //for iterator_traits #include #include #include diff --git a/libstdc++-v3/include/std/queue b/libstdc++-v3/include/std/queue index 1242a06..2d919d0 100644 --- a/libstdc++-v3/include/std/queue +++ b/libstdc++-v3/include/std/queue @@ -1,6 +1,7 @@ // -*- C++ -*- -// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -62,16 +63,10 @@ #pragma GCC system_header -#include -#include -#include -#include -#include -#include -#include -#include #include #include +#include +#include #include #endif /* _GLIBCXX_QUEUE */ diff --git a/libstdc++-v3/include/std/stack b/libstdc++-v3/include/std/stack index 396f62e..b51155e 100644 --- a/libstdc++-v3/include/std/stack +++ b/libstdc++-v3/include/std/stack @@ -1,6 +1,7 @@ // -*- C++ -*- -// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -62,10 +63,6 @@ #pragma GCC system_header -#include -#include -#include -#include #include #include diff --git a/libstdc++-v3/include/std/vector b/libstdc++-v3/include/std/vector index a4a527e..d7aba96 100644 --- a/libstdc++-v3/include/std/vector +++ b/libstdc++-v3/include/std/vector @@ -1,6 +1,7 @@ // -*- C++ -*- -// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -62,7 +63,6 @@ #pragma GCC system_header -#include #include #include #include -- cgit v1.1