diff options
author | Paolo Carlini <pcarlini@suse.de> | 2007-05-11 00:55:17 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2007-05-11 00:55:17 +0000 |
commit | 1b716e906bb86e68c79b3ff73c9786f3aff52dc7 (patch) | |
tree | 01ea6c07dc341c591e4dca5686776217ed7e9848 | |
parent | 81cfbea3d124e73f8eda82e024de404390fd8b35 (diff) | |
download | gcc-1b716e906bb86e68c79b3ff73c9786f3aff52dc7.zip gcc-1b716e906bb86e68c79b3ff73c9786f3aff52dc7.tar.gz gcc-1b716e906bb86e68c79b3ff73c9786f3aff52dc7.tar.bz2 |
11.cc: Include <cstring>.
2007-05-10 Paolo Carlini <pcarlini@suse.de>
* 27_io/objects/wchar_t/11.cc: Include <cstring>.
* 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
67 files changed, 229 insertions, 67 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ba607dc..3dd555b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,72 @@ +2007-05-10 Paolo Carlini <pcarlini@suse.de> + + * 27_io/objects/wchar_t/11.cc: Include <cstring>. + * 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 <mark@codesourcery.com> * 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 af06cbe..ee82b7f 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 <bkoz@redhat.com> -// 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 <string> +#include <cstring> #include <stdexcept> #include <testsuite_hooks.h> 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 70b25ed..783f9cd 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 <string> +#include <cstring> #include <testsuite_hooks.h> template<typename T> 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 128add3..afa726d 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 <string> +#include <cstring> #include <testsuite_hooks.h> 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 dd2283c..3a0394d 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 <string> +#include <cstring> #include <testsuite_hooks.h> 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<short>::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 7881eb7..b518552 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 927e7f0..6b41d24 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 0eaadcc..a784ee0 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 c75e4a8..efbb14d 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 1ee1075..4045046 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 0fb4f49..34a57e7 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 65b9a7b..6633540 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 25b9566..cf26754 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 79cd982..699a70f 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 26c47cd..8b587e9 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 b0e5d02..dddee2c 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 71cc6ca..f1f06f5 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 c62cf0e..502bf2a 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 03c07a0..2bee245 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 d8e1d1e..adb99d6 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 85eb970..1c42a21 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 d8da6e3..9df9bb5 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 081feb7..5a77770 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 f32b265..c39d394 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 57565b7..f17eb5e 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 4993718..efef386 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 454d5a9..1e3914b 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 ad1799b..ae79679 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 59da76c..c0edc46 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 f85a296..71ab8c6 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 8038796..faac58f 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 45c0035..a925820 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 a8e369a..131a8d5 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 2853c43..cb3ec74 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 0faa76f..60b167f 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 9630a7a..2b2921c 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 dc1de83..19886d5 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 cea86ea..71f09f5 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> // 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 0b194c5..42852af 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 <bkoz@redhat.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> 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 9f944cc..37cd76e 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<char> members #include <locale> +#include <cstring> #include <testsuite_hooks.h> 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 8561095..08b53aa 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 <cwchar> // for mbstate_t +#include <cstring> #include <cstdlib> #include <locale> #include <stdexcept> 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 333ad1e..191143f 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 <pcarlini@suse.de> -// 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 <iterator> #include <sstream> #include <algorithm> +#include <cstring> #include <testsuite_hooks.h> // 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 2af78d5..378583a 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 <pcarlini@suse.de> -// 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 <iterator> #include <fstream> #include <algorithm> +#include <cstring> #include <testsuite_hooks.h> // 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 f69d24c..a9eb009 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 <bkoz@redhat.com> -// 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 <fstream> +#include <cstring> #include <testsuite_hooks.h> 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 1bb1a7a..af1f261 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 <bkoz@redhat.com> -// 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 <fstream> +#include <cstring> #include <testsuite_hooks.h> 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 ca6ca4f..6c79f90 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 <sstream> #include <typeinfo> +#include <cstring> #include <testsuite_hooks.h> // 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 95f2289..fcfd11f 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 <string> #include <fstream> #include <cstdlib> +#include <cstring> #include <testsuite_hooks.h> 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 cdada7b..85f8dcf 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 <streambuf> +#include <cstring> #include <testsuite_hooks.h> 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 b4b42ed..ca3f919 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 <streambuf> +#include <cstring> #include <testsuite_hooks.h> 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 6f7abe9..bf51095 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 <streambuf> +#include <cstring> #include <testsuite_hooks.h> 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 204323f..b63ad44 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 <bkoz@redhat.com> -// 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 <streambuf> #include <locale> +#include <cstring> #include <testsuite_hooks.h> class MyTraits : public std::char_traits<char> 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 1651f3c..ebaa7af 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 <streambuf> +#include <cstring> #include <testsuite_hooks.h> 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 4f6a491..3af8103 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 <streambuf> #include <cwchar> +#include <cstring> #include <testsuite_hooks.h> 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 87baa2d..b267a37 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 <bkoz@redhat.com> -// 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 <sstream> +#include <cstring> #include <testsuite_hooks.h> 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 4a406ca..d31cc70 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 <bkoz@redhat.com> -// 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 <sstream> +#include <cstring> #include <testsuite_hooks.h> 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 d6d1a5d..dc9995e 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 <pcarlini@suse.de> -// 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 <sstream> +#include <cstring> #include <testsuite_hooks.h> 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 cb07381..6240a38 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 <cwchar> // for mbstate_t #include <ios> +#include <cstring> #include <testsuite_hooks.h> 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 0677a43..fddb0b2 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 <peturr02@ru.is> -// 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 <iostream> #include <cstdio> +#include <cstring> #include <testsuite_hooks.h> // 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 96beecb..7f09694 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 <peturr02@ru.is> -// 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 <iostream> #include <cstdio> +#include <cstring> #include <testsuite_hooks.h> // 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 6010650..b4be3f3 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 <peturr02@ru.is> -// 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 <iostream> #include <cstdio> +#include <cstring> #include <testsuite_hooks.h> // 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 2e3fb74..d5884cb 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 <peturr02@ru.is> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> #include <ext/codecvt_specializations.h> diff --git a/libstdc++-v3/testsuite/ext/codecvt/char-1.cc b/libstdc++-v3/testsuite/ext/codecvt/char-1.cc index 507d713..c428eed 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> #include <ext/codecvt_specializations.h> diff --git a/libstdc++-v3/testsuite/ext/codecvt/char-2.cc b/libstdc++-v3/testsuite/ext/codecvt/char-2.cc index 19e28aa..2916048 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 <bkoz@cygnus.com> -// 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 <locale> +#include <cstring> #include <testsuite_hooks.h> #include <ext/codecvt_specializations.h> 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 1c44831..45d4f1e 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 <cstdio> #include <fstream> +#include <cstring> #include <ext/stdio_filebuf.h> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc index 8ac0dc8..a351f91 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 <pcarlini at unitus dot it> -// 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 <ext/stdio_filebuf.h> #include <cstdio> #include <fstream> +#include <cstring> #include <testsuite_hooks.h> // 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 41f5acc..7b37aa1 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 <peturr02@ru.is> -// 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 <ext/stdio_sync_filebuf.h> +#include <cstring> #include <testsuite_hooks.h> 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 0da20be..a9ef935 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 <peturr02@ru.is> -// 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 <ext/stdio_sync_filebuf.h> +#include <cstring> #include <testsuite_hooks.h> void test01() |