From: Paolo Carlini Date: Fri, 11 May 2007 00:55:17 +0000 (+0000) Subject: 11.cc: Include . X-Git-Tag: releases/gcc-4.3.0~5140 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b716e906bb86e68c79b3ff73c9786f3aff52dc7;p=thirdparty%2Fgcc.git 11.cc: Include . 2007-05-10 Paolo Carlini * 27_io/objects/wchar_t/11.cc: Include . * 27_io/objects/wchar_t/10.cc: Likewise. * 27_io/objects/wchar_t/12.cc: Likewise. * 27_io/basic_streambuf/sputbackc/char/9538.cc: Likewise. * 27_io/basic_streambuf/sgetn/char/1.cc: Likewise. * 27_io/basic_streambuf/overflow/char/1.cc: Likewise. * 27_io/basic_streambuf/sgetc/char/1.cc: Likewise. * 27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise. * 27_io/basic_streambuf/sputn/char/1.cc: Likewise. * 27_io/basic_ios/cons/char/3.cc: Likewise. * 27_io/basic_stringbuf/setbuf/char/2.cc: Likewise. * 27_io/basic_stringbuf/setbuf/char/3.cc: Likewise. * 27_io/basic_stringbuf/setbuf/char/4.cc: Likewise. * 27_io/basic_istream/extractors_character/char/4.cc: Likewise. * 27_io/fpos/mbstate_t/1.cc: Likewise. * 27_io/basic_filebuf/setbuf/char/2.cc: Likewise. * 27_io/basic_filebuf/setbuf/char/3.cc: Likewise. * 25_algorithms/copy/streambuf_iterators/char/2.cc: Likewise. * 25_algorithms/copy/streambuf_iterators/char/4.cc: Likewise. * 19_diagnostics/stdexceptions.cc: Likewise. * 21_strings/char_traits/requirements/short/1.cc: Likewise. * 21_strings/basic_string/compare/char/1.cc: Likewise. * 21_strings/basic_string/capacity/1.cc: Likewise. * ext/codecvt/char-1.cc: Likewise. * ext/codecvt/char-2.cc: Likewise. * ext/codecvt/1.cc: Likewise. * ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise. * ext/stdio_sync_filebuf/char/1.cc: Likewise. * ext/stdio_filebuf/char/2.cc: Likewise. * ext/stdio_filebuf/char/10063-1.cc: Likewise. * 22_locale/ctype/narrow/char/19955.cc: Likewise. * 22_locale/codecvt/unshift/wchar_t/1.cc: Likewise. * 22_locale/codecvt/unshift/wchar_t/2.cc: Likewise. * 22_locale/codecvt/unshift/wchar_t/3.cc: Likewise. * 22_locale/codecvt/unshift/wchar_t/4.cc: Likewise. * 22_locale/codecvt/unshift/char/1.cc: Likewise. * 22_locale/codecvt/length/wchar_t/1.cc: Likewise. * 22_locale/codecvt/length/wchar_t/2.cc: Likewise. * 22_locale/codecvt/length/wchar_t/3.cc: Likewise. * 22_locale/codecvt/length/wchar_t/4.cc: Likewise. * 22_locale/codecvt/length/wchar_t/5.cc: Likewise. * 22_locale/codecvt/length/wchar_t/6.cc: Likewise. * 22_locale/codecvt/length/wchar_t/7.cc: Likewise. * 22_locale/codecvt/always_noconv/char/1.cc: Likewise. * 22_locale/codecvt/encoding/char/1.cc: Likewise. * 22_locale/codecvt/in/wchar_t/1.cc: Likewise. * 22_locale/codecvt/in/wchar_t/2.cc: Likewise. * 22_locale/codecvt/in/wchar_t/3.cc: Likewise. * 22_locale/codecvt/in/wchar_t/4.cc: Likewise. * 22_locale/codecvt/in/wchar_t/5.cc: Likewise. * 22_locale/codecvt/in/wchar_t/6.cc: Likewise. * 22_locale/codecvt/in/wchar_t/7.cc: Likewise. * 22_locale/codecvt/in/wchar_t/8.cc: Likewise. * 22_locale/codecvt/in/wchar_t/9.cc: Likewise. * 22_locale/codecvt/in/char/1.cc: Likewise. * 22_locale/codecvt/max_length/char/1.cc: Likewise. * 22_locale/codecvt/out/wchar_t/1.cc: Likewise. * 22_locale/codecvt/out/wchar_t/2.cc: Likewise. * 22_locale/codecvt/out/wchar_t/3.cc: Likewise. * 22_locale/codecvt/out/wchar_t/4.cc: Likewise. * 22_locale/codecvt/out/wchar_t/5.cc: Likewise. * 22_locale/codecvt/out/wchar_t/6.cc: Likewise. * 22_locale/codecvt/out/wchar_t/7.cc: Likewise. * 22_locale/codecvt/out/char/1.cc: Likewise. * 22_locale/locale/cons/5.cc: Likewise. * 22_locale/collate_byname/named_equivalence.cc: Likewise. From-SVN: r124610 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ba607dc98d55..3dd555b4a1ea 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,72 @@ +2007-05-10 Paolo Carlini + + * 27_io/objects/wchar_t/11.cc: Include . + * 27_io/objects/wchar_t/10.cc: Likewise. + * 27_io/objects/wchar_t/12.cc: Likewise. + * 27_io/basic_streambuf/sputbackc/char/9538.cc: Likewise. + * 27_io/basic_streambuf/sgetn/char/1.cc: Likewise. + * 27_io/basic_streambuf/overflow/char/1.cc: Likewise. + * 27_io/basic_streambuf/sgetc/char/1.cc: Likewise. + * 27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise. + * 27_io/basic_streambuf/sputn/char/1.cc: Likewise. + * 27_io/basic_ios/cons/char/3.cc: Likewise. + * 27_io/basic_stringbuf/setbuf/char/2.cc: Likewise. + * 27_io/basic_stringbuf/setbuf/char/3.cc: Likewise. + * 27_io/basic_stringbuf/setbuf/char/4.cc: Likewise. + * 27_io/basic_istream/extractors_character/char/4.cc: Likewise. + * 27_io/fpos/mbstate_t/1.cc: Likewise. + * 27_io/basic_filebuf/setbuf/char/2.cc: Likewise. + * 27_io/basic_filebuf/setbuf/char/3.cc: Likewise. + * 25_algorithms/copy/streambuf_iterators/char/2.cc: Likewise. + * 25_algorithms/copy/streambuf_iterators/char/4.cc: Likewise. + * 19_diagnostics/stdexceptions.cc: Likewise. + * 21_strings/char_traits/requirements/short/1.cc: Likewise. + * 21_strings/basic_string/compare/char/1.cc: Likewise. + * 21_strings/basic_string/capacity/1.cc: Likewise. + * ext/codecvt/char-1.cc: Likewise. + * ext/codecvt/char-2.cc: Likewise. + * ext/codecvt/1.cc: Likewise. + * ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise. + * ext/stdio_sync_filebuf/char/1.cc: Likewise. + * ext/stdio_filebuf/char/2.cc: Likewise. + * ext/stdio_filebuf/char/10063-1.cc: Likewise. + * 22_locale/ctype/narrow/char/19955.cc: Likewise. + * 22_locale/codecvt/unshift/wchar_t/1.cc: Likewise. + * 22_locale/codecvt/unshift/wchar_t/2.cc: Likewise. + * 22_locale/codecvt/unshift/wchar_t/3.cc: Likewise. + * 22_locale/codecvt/unshift/wchar_t/4.cc: Likewise. + * 22_locale/codecvt/unshift/char/1.cc: Likewise. + * 22_locale/codecvt/length/wchar_t/1.cc: Likewise. + * 22_locale/codecvt/length/wchar_t/2.cc: Likewise. + * 22_locale/codecvt/length/wchar_t/3.cc: Likewise. + * 22_locale/codecvt/length/wchar_t/4.cc: Likewise. + * 22_locale/codecvt/length/wchar_t/5.cc: Likewise. + * 22_locale/codecvt/length/wchar_t/6.cc: Likewise. + * 22_locale/codecvt/length/wchar_t/7.cc: Likewise. + * 22_locale/codecvt/always_noconv/char/1.cc: Likewise. + * 22_locale/codecvt/encoding/char/1.cc: Likewise. + * 22_locale/codecvt/in/wchar_t/1.cc: Likewise. + * 22_locale/codecvt/in/wchar_t/2.cc: Likewise. + * 22_locale/codecvt/in/wchar_t/3.cc: Likewise. + * 22_locale/codecvt/in/wchar_t/4.cc: Likewise. + * 22_locale/codecvt/in/wchar_t/5.cc: Likewise. + * 22_locale/codecvt/in/wchar_t/6.cc: Likewise. + * 22_locale/codecvt/in/wchar_t/7.cc: Likewise. + * 22_locale/codecvt/in/wchar_t/8.cc: Likewise. + * 22_locale/codecvt/in/wchar_t/9.cc: Likewise. + * 22_locale/codecvt/in/char/1.cc: Likewise. + * 22_locale/codecvt/max_length/char/1.cc: Likewise. + * 22_locale/codecvt/out/wchar_t/1.cc: Likewise. + * 22_locale/codecvt/out/wchar_t/2.cc: Likewise. + * 22_locale/codecvt/out/wchar_t/3.cc: Likewise. + * 22_locale/codecvt/out/wchar_t/4.cc: Likewise. + * 22_locale/codecvt/out/wchar_t/5.cc: Likewise. + * 22_locale/codecvt/out/wchar_t/6.cc: Likewise. + * 22_locale/codecvt/out/wchar_t/7.cc: Likewise. + * 22_locale/codecvt/out/char/1.cc: Likewise. + * 22_locale/locale/cons/5.cc: Likewise. + * 22_locale/collate_byname/named_equivalence.cc: Likewise. + 2007-05-07 Mark Mitchell * libstdc++-v3/libsupc++/cxxabi.h (_GLIBCXX_NOTHROW): New macro. diff --git a/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc b/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc index af06cbea9d44..ee82b7f199e3 100644 --- a/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc +++ b/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc @@ -1,6 +1,7 @@ // 2001-02-26 Benjamin Kosnik -// 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 @@ -21,6 +22,7 @@ // 19.1 Exception classes #include +#include #include #include diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/capacity/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string/capacity/1.cc index 70b25ed86241..783f9cdcf59b 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/capacity/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/capacity/1.cc @@ -1,6 +1,7 @@ // 1999-05-11 bkoz -// Copyright (C) 1999, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999, 2000, 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 @@ -21,6 +22,7 @@ // 21.3.3 string capacity #include +#include #include template diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/compare/char/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string/compare/char/1.cc index 128add3fbb58..afa726dc6757 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/compare/char/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/compare/char/1.cc @@ -1,6 +1,8 @@ // 980930 bkoz work with libstdc++v3 -// Copyright (C) 1998, 1999, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 1998, 1999, 2000, 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 @@ -31,6 +33,7 @@ // things would be sorted in a dictionary. #include +#include #include enum want_value {lt=0, z=1, gt=2}; diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/short/1.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/short/1.cc index dd2283cbe297..3a0394daf1ff 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/short/1.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/short/1.cc @@ -1,7 +1,8 @@ // 1999-06-03 bkoz // 2003-07-22 Matt Austern -// Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 1999, 2000, 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 @@ -25,6 +26,7 @@ // satisfy the requirements of 21.1.1. #include +#include #include void test02(void) @@ -139,7 +141,7 @@ void test02(void) // short* X::assign(short* s, size_t n, short c) len = sizeof(array2) / sizeof(short); - memset(array2, 0xaf, len * sizeof(short)); + std::memset(array2, 0xaf, len * sizeof(short)); VERIFY( array2[0] != 0x15a8 ); pc1 = std::char_traits::assign (array2, len, 0x15a8); diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/char/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/char/1.cc index 7881eb7d49e7..b51855234d14 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/char/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/always_noconv/char/1.cc @@ -1,6 +1,7 @@ // 2000-08-17 Benjamin Kosnik -// Copyright (C) 2000, 2002, 2003 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -21,6 +22,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Required instantiation, degenerate conversion. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/1.cc index 927e7f0db3df..6b41d24c0df5 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/1.cc @@ -1,6 +1,7 @@ // 2000-08-17 Benjamin Kosnik -// Copyright (C) 2000, 2002, 2003 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -21,6 +22,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Required instantiation, degenerate conversion. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/in/char/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/in/char/1.cc index 0eaadcc6d369..a784ee044a23 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/in/char/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/in/char/1.cc @@ -1,6 +1,7 @@ // 2000-08-17 Benjamin Kosnik -// Copyright (C) 2000, 2002, 2003 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -21,6 +22,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Required instantiation, degenerate conversion. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/1.cc index c75e4a89821d..efbb14ddb1e0 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/1.cc @@ -1,6 +1,7 @@ // 2000-08-17 Benjamin Kosnik -// Copyright (C) 2000, 2002, 2003, 2006 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -21,6 +22,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc index 1ee107512f4b..404504658a1f 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/3.cc b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/3.cc index 0fb4f4910997..34a57e7c9d60 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/3.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/4.cc b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/4.cc index 65b9a7b38c7f..6633540704eb 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/4.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/5.cc b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/5.cc index 25b956679917..cf267543feec 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/5.cc @@ -1,6 +1,6 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2006 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -21,6 +21,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/6.cc b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/6.cc index 79cd9828f359..699a70f51f81 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/6.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/6.cc @@ -1,6 +1,6 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2006 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -21,6 +21,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/7.cc b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/7.cc index 26c47cdbc78a..8b587e9ac55a 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/7.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/7.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/8.cc b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/8.cc index b0e5d02fab22..dddee2c3b78b 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/8.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/8.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/9.cc b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/9.cc index 71cc6caeee29..f1f06f594f13 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/9.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/9.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/1.cc index c62cf0e6cbdb..502bf2a74c85 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/1.cc @@ -1,6 +1,7 @@ // 2000-08-17 Benjamin Kosnik -// Copyright (C) 2000, 2002, 2003 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -21,6 +22,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/2.cc b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/2.cc index 03c07a0b22d3..2bee2455d7c6 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/2.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/3.cc b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/3.cc index d8e1d1efad5a..adb99d6367b3 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/3.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/4.cc b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/4.cc index 85eb97013b2b..1c42a2187819 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/4.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/5.cc b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/5.cc index d8da6e3bdfac..9df9bb5aeba4 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/5.cc @@ -1,6 +1,6 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -21,6 +21,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/6.cc b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/6.cc index 081feb790df3..5a777703d570 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/6.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/6.cc @@ -1,6 +1,6 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -21,6 +21,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/7.cc b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/7.cc index f32b26502ebf..c39d3947db31 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/7.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/length/wchar_t/7.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/max_length/char/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/max_length/char/1.cc index 57565b7e3ba0..f17eb5e79917 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/max_length/char/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/max_length/char/1.cc @@ -1,6 +1,7 @@ // 2000-08-17 Benjamin Kosnik -// Copyright (C) 2000, 2002, 2003 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -21,6 +22,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Required instantiation, degenerate conversion. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/out/char/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/out/char/1.cc index 4993718dce7b..efef386bbba6 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/out/char/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/out/char/1.cc @@ -1,6 +1,7 @@ // 2000-08-17 Benjamin Kosnik -// Copyright (C) 2000, 2002, 2003 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -21,6 +22,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Required instantiation, degenerate conversion. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/1.cc index 454d5a987210..1e3914b94453 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/1.cc @@ -1,6 +1,7 @@ // 2000-08-17 Benjamin Kosnik -// Copyright (C) 2000, 2002, 2003 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -21,6 +22,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/2.cc b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/2.cc index ad1799b01a77..ae79679573e9 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/2.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/3.cc b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/3.cc index 59da76c4251c..c0edc46bacc3 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/3.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/4.cc b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/4.cc index f85a296e642f..71ab8c6fa383 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/4.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/5.cc b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/5.cc index 8038796e00d2..faac58fafc1e 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/5.cc @@ -1,6 +1,6 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -21,6 +21,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/6.cc b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/6.cc index 45c0035a5521..a92582096c3b 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/6.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/6.cc @@ -1,6 +1,6 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -21,6 +21,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/7.cc b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/7.cc index a8e369a579fe..131a8d5d3044 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/7.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/out/wchar_t/7.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/unshift/char/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/unshift/char/1.cc index 2853c431d207..cb3ec744e56d 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/unshift/char/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/unshift/char/1.cc @@ -1,6 +1,7 @@ // 2000-08-17 Benjamin Kosnik -// Copyright (C) 2000, 2002, 2003 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -21,6 +22,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Required instantiation, degenerate conversion. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/1.cc index 0faa76f5263f..60b167f7542b 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/1.cc @@ -1,6 +1,7 @@ // 2000-08-17 Benjamin Kosnik -// Copyright (C) 2000, 2002, 2003 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -21,6 +22,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/2.cc b/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/2.cc index 9630a7a66fc8..2b2921c475b3 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/2.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/3.cc b/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/3.cc index dc1de83ba016..19886d56deb6 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/3.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/4.cc b/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/4.cc index cea86ea38e3b..71f09f5a3a4e 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/unshift/wchar_t/4.cc @@ -2,7 +2,7 @@ // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include // Need to explicitly set the state(mbstate_t) to zero. diff --git a/libstdc++-v3/testsuite/22_locale/collate_byname/named_equivalence.cc b/libstdc++-v3/testsuite/22_locale/collate_byname/named_equivalence.cc index 0b194c50b4b1..42852af33172 100644 --- a/libstdc++-v3/testsuite/22_locale/collate_byname/named_equivalence.cc +++ b/libstdc++-v3/testsuite/22_locale/collate_byname/named_equivalence.cc @@ -2,7 +2,8 @@ // 2001-08-15 Benjamin Kosnik -// Copyright (C) 2001, 2002, 2005 Free Software Foundation +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -23,6 +24,7 @@ // 22.2.4.2 Template class collate_byname #include +#include #include void test01() diff --git a/libstdc++-v3/testsuite/22_locale/ctype/narrow/char/19955.cc b/libstdc++-v3/testsuite/22_locale/ctype/narrow/char/19955.cc index 9f944cc1dfbd..37cd76e1c1fb 100644 --- a/libstdc++-v3/testsuite/22_locale/ctype/narrow/char/19955.cc +++ b/libstdc++-v3/testsuite/22_locale/ctype/narrow/char/19955.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2005 Free Software Foundation, Inc. +// Copyright (C) 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 @@ -28,6 +28,7 @@ // 22.2.1.3.2 ctype members #include +#include #include class Ctype1 diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc index 856109588946..08b53aab3714 100644 --- a/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc +++ b/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc @@ -24,6 +24,7 @@ // 22.1.1.2 locale constructors and destructors [lib.locale.cons] #include // for mbstate_t +#include #include #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc b/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc index 333ad1ee30ae..191143fe6d9e 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc @@ -1,6 +1,6 @@ // 2006-03-20 Paolo Carlini -// Copyright (C) 2006 Free Software Foundation, Inc. +// Copyright (C) 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 @@ -21,6 +21,7 @@ #include #include #include +#include #include // In the occasion of libstdc++/25482 diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc b/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc index 2af78d5415b8..378583ac83cd 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc @@ -1,6 +1,6 @@ // 2006-03-20 Paolo Carlini -// Copyright (C) 2006 Free Software Foundation, Inc. +// Copyright (C) 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 @@ -21,6 +21,7 @@ #include #include #include +#include #include // In the occasion of libstdc++/25482 diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc index f69d24c94469..a9eb009a59dd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc @@ -1,6 +1,7 @@ // 2001-05-21 Benjamin Kosnik -// 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 @@ -23,6 +24,7 @@ // { dg-require-fileio "" } #include +#include #include void test01() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc index 1bb1a7aa70cb..af1f2617b0d6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc @@ -1,6 +1,7 @@ // 2001-05-21 Benjamin Kosnik -// 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 @@ -23,6 +24,7 @@ // { dg-require-fileio "" } #include +#include #include void test03() diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc index ca6ca4f13861..6c79f900afce 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc @@ -32,6 +32,7 @@ #include #include +#include #include // char_traits specialization diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc index 95f22894cb51..fcfd11f7cc2c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc @@ -26,6 +26,7 @@ #include #include #include +#include #include using namespace std; diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/1.cc index cdada7b16d75..85f8dcf0a5d2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/1.cc @@ -1,6 +1,7 @@ // 1999-10-11 bkoz -// Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +// Copyright (C) 1999, 2000, 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 @@ -30,6 +31,7 @@ // 27.5.2 template class basic_streambuf #include +#include #include class testbuf : public std::streambuf @@ -94,7 +96,7 @@ void test01() bool test __attribute__((unused)) = true; char lit01[52]; - strcpy(lit01, "chicago underground trio/possible cube on delmark"); + std::strcpy(lit01, "chicago underground trio/possible cube on delmark"); testbuf buf01; // pbackfail diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/char/1.cc index b4b42edf5322..ca3f919a8232 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/char/1.cc @@ -1,6 +1,7 @@ // 1999-10-11 bkoz -// Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +// Copyright (C) 1999, 2000, 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 @@ -30,6 +31,7 @@ // 27.5.2 template class basic_streambuf #include +#include #include class testbuf : public std::streambuf @@ -94,7 +96,7 @@ void test01() bool test __attribute__((unused)) = true; char lit01[52]; - strcpy(lit01, "chicago underground trio/possible cube on delmark"); + std::strcpy(lit01, "chicago underground trio/possible cube on delmark"); testbuf buf01; // 27.5.2.3.1 get area diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/char/1.cc index 6f7abe949241..bf51095e4a80 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/char/1.cc @@ -1,6 +1,6 @@ // 1999-10-11 bkoz -// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 +// Copyright (C) 1999, 2000, 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 @@ -31,6 +31,7 @@ // 27.5.2 template class basic_streambuf #include +#include #include class testbuf : public std::streambuf diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc index 204323f740f9..b63ad4489cd3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc @@ -1,6 +1,7 @@ // 2001-05-21 Benjamin Kosnik -// 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 @@ -22,6 +23,7 @@ #include #include +#include #include class MyTraits : public std::char_traits diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/char/1.cc index 1651f3cf98d5..ebaa7af5df69 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/char/1.cc @@ -1,6 +1,6 @@ // 1999-10-11 bkoz -// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 +// Copyright (C) 1999, 2000, 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 @@ -31,6 +31,7 @@ // 27.5.2 template class basic_streambuf #include +#include #include class testbuf : public std::streambuf diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc index 4f6a4915b571..3af810314347 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc @@ -1,6 +1,6 @@ // 1999-10-11 bkoz -// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +// Copyright (C) 1999, 2000, 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 @@ -32,6 +32,7 @@ #include #include +#include #include class testbuf : public std::wstreambuf diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/2.cc index 87baa2dd4910..b267a3756bad 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/2.cc @@ -1,6 +1,7 @@ // 2001-05-21 Benjamin Kosnik -// 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 @@ -21,6 +22,7 @@ // 27.8.1.4 Overridden virtual functions #include +#include #include void test01() diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/3.cc index 4a406cabea50..d31cc70d217d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/3.cc @@ -1,6 +1,7 @@ // 2001-05-21 Benjamin Kosnik -// 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 @@ -21,6 +22,7 @@ // 27.8.1.4 Overridden virtual functions #include +#include #include void test02() diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/4.cc index d6d1a5d4f378..dc9995e46036 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/4.cc @@ -1,6 +1,6 @@ // 2004-10-06 Paolo Carlini -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 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 @@ -21,6 +21,7 @@ // 27.8.1.4 Overridden virtual functions #include +#include #include void test01() diff --git a/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/1.cc b/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/1.cc index cb07381ea55f..6240a3815378 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/1.cc @@ -1,6 +1,7 @@ // 1999-09-20 bkoz -// Copyright (C) 1999, 2001, 2003 Free Software Foundation, Inc. +// Copyright (C) 1999, 2000, 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 @@ -31,6 +32,7 @@ #include // for mbstate_t #include +#include #include void test01() @@ -55,7 +57,7 @@ void test01() // place. pos01.state(state02); state01 = pos01.state(); - test = memcmp(&state01, &state02, sizeof(state_type)) == 0; + test = std::memcmp(&state01, &state02, sizeof(state_type)) == 0; VERIFY( test ); } diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc index 0677a43848cb..fddb0b25a69a 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc @@ -2,7 +2,7 @@ // 2003-05-01 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation, Inc. +// 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 // software; you can redistribute it and/or modify it under the @@ -22,6 +22,7 @@ #include #include +#include #include // Test handling of UTF-8 in wcin diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/11.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/11.cc index 96beecba8ccc..7f09694798db 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/11.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/11.cc @@ -2,7 +2,7 @@ // 2003-05-01 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation, Inc. +// 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 // software; you can redistribute it and/or modify it under the @@ -22,6 +22,7 @@ #include #include +#include #include // Test handling of UTF-8 in wcout diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc index 60106508e2d1..b4be3f3cda0f 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc @@ -2,7 +2,7 @@ // 2003-09-04 Petur Runolfsson -// Copyright (C) 2003, 2005 Free Software Foundation, Inc. +// 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 // software; you can redistribute it and/or modify it under the @@ -27,6 +27,7 @@ #include #include +#include #include // Test handling of UTF-8 in wcout diff --git a/libstdc++-v3/testsuite/ext/codecvt/1.cc b/libstdc++-v3/testsuite/ext/codecvt/1.cc index 2e3fb746bef5..d5884cbabdb2 100644 --- a/libstdc++-v3/testsuite/ext/codecvt/1.cc +++ b/libstdc++-v3/testsuite/ext/codecvt/1.cc @@ -2,7 +2,7 @@ // { dg-require-iconv "ISO-8859-15" } // 2003-02-06 Petur Runolfsson -// Copyright (C) 2003, 2007 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -23,6 +23,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include #include diff --git a/libstdc++-v3/testsuite/ext/codecvt/char-1.cc b/libstdc++-v3/testsuite/ext/codecvt/char-1.cc index 507d7136ee7f..c428eedcedb2 100644 --- a/libstdc++-v3/testsuite/ext/codecvt/char-1.cc +++ b/libstdc++-v3/testsuite/ext/codecvt/char-1.cc @@ -3,7 +3,8 @@ // 2000-08-22 Benjamin Kosnik -// Copyright (C) 2000, 2001, 2002, 2003, 2007 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -23,6 +24,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include #include diff --git a/libstdc++-v3/testsuite/ext/codecvt/char-2.cc b/libstdc++-v3/testsuite/ext/codecvt/char-2.cc index 19e28aa024ba..2916048419a3 100644 --- a/libstdc++-v3/testsuite/ext/codecvt/char-2.cc +++ b/libstdc++-v3/testsuite/ext/codecvt/char-2.cc @@ -3,7 +3,8 @@ // 2000-08-22 Benjamin Kosnik -// Copyright (C) 2000, 2001, 2002, 2003, 2007 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -23,6 +24,7 @@ // 22.2.1.5 - Template class codecvt [lib.locale.codecvt] #include +#include #include #include diff --git a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-1.cc b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-1.cc index 1c4483110473..45d4f1e80311 100644 --- a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-1.cc +++ b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-1.cc @@ -1,4 +1,5 @@ -// Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation // // 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 @@ -20,6 +21,7 @@ #include #include +#include #include #include diff --git a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc index 8ac0dc8a7429..a351f913c944 100644 --- a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc +++ b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc @@ -1,6 +1,6 @@ // 2003-04-12 Paolo Carlini -// Copyright (C) 2003 Free Software Foundation, Inc. +// 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 // software; you can redistribute it and/or modify it under the @@ -25,6 +25,7 @@ #include #include #include +#include #include // Small stack-based buffers (i.e., using _M_unbuf) were not flushed diff --git a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc index 41f5acca5d5b..7b37aa1bb4c0 100644 --- a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc +++ b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc @@ -1,6 +1,6 @@ // 2003-05-01 Petur Runolfsson -// Copyright (C) 2003 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -21,6 +21,7 @@ // { dg-require-fileio "" } #include +#include #include void test01() diff --git a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc index 0da20bea79c9..a9ef935dd61f 100644 --- a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc @@ -1,6 +1,6 @@ // 2003-05-01 Petur Runolfsson -// Copyright (C) 2003, 2006 Free Software Foundation +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation // // 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 @@ -19,6 +19,7 @@ // USA. #include +#include #include void test01()