aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2007-03-03 10:29:14 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2007-03-03 10:29:14 +0000
commit39b8cd70c25945a655f8262761036c215a60fd9c (patch)
tree9c11143e43b585952f5dbea6270fee64275a31e4 /libstdc++-v3/src
parent7314b3ad2af869108d6d6df69017ef604f938645 (diff)
downloadgcc-39b8cd70c25945a655f8262761036c215a60fd9c.zip
gcc-39b8cd70c25945a655f8262761036c215a60fd9c.tar.gz
gcc-39b8cd70c25945a655f8262761036c215a60fd9c.tar.bz2
PR libstdc++/28080 (partial)
2007-03-03 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (partial) * include/bits/stl_algobase.h: Do not include <iosfwd>, <bits/functexcept.h> is enough; adjust __copy_aux declarations; remove declaration of copy overload for istreambuf_iterator / ostreambuf_iterator. * src/debug.cc: Include <cstdio>. * include/ext/rope: Include <iosfwd>. * include/bits/char_traits.h: Include <cstdio> and <cwchar>. * 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 <cstddef>. * testsuite/util/testsuite_hooks.cc: Do it here. From-SVN: r122502
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r--libstdc++-v3/src/debug.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/src/debug.cc b/libstdc++-v3/src/debug.cc
index be5ba01..4129f68 100644
--- a/libstdc++-v3/src/debug.cc
+++ b/libstdc++-v3/src/debug.cc
@@ -1,6 +1,6 @@
// Debugging mode support code -*- C++ -*-
-// Copyright (C) 2003, 2004, 2005, 2006
+// Copyright (C) 2003, 2004, 2005, 2006, 2007
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -35,6 +35,7 @@
#include <cassert>
#include <cstring>
#include <cctype>
+#include <cstdio>
using namespace std;