diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2002-02-13 18:29:12 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2002-02-13 18:29:12 +0000 |
commit | 8dba028f108fa3e61c531ae2eb9e952c685301b8 (patch) | |
tree | 1675e8ba84fa5f043df59e9da6ba426fffbf2bd0 | |
parent | ce50cae8cf1a87be48067c7b974dc806256fbb63 (diff) | |
download | gcc-8dba028f108fa3e61c531ae2eb9e952c685301b8.zip gcc-8dba028f108fa3e61c531ae2eb9e952c685301b8.tar.gz gcc-8dba028f108fa3e61c531ae2eb9e952c685301b8.tar.bz2 |
localename.cc: Remove stdexcept include.
2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
* src/localename.cc: Remove stdexcept include.
* src/locale-inst.cc: Same.
* src/locale.cc: Same.
* src/functexcept.cc: Remove string includes.
* include/std/std_bitset.h: Remove stdexcept include.
* testsuite/23_containers/bitset_members.cc: Add stdexcept.
From-SVN: r49740
-rw-r--r-- | libstdc++-v3/ChangeLog | 12 | ||||
-rw-r--r-- | libstdc++-v3/include/std/std_bitset.h | 1 | ||||
-rw-r--r-- | libstdc++-v3/src/functexcept.cc | 5 | ||||
-rw-r--r-- | libstdc++-v3/src/locale-inst.cc | 1 | ||||
-rw-r--r-- | libstdc++-v3/src/locale.cc | 4 | ||||
-rw-r--r-- | libstdc++-v3/src/localename.cc | 4 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/23_containers/bitset_ctor.cc | 3 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/23_containers/bitset_members.cc | 3 |
8 files changed, 21 insertions, 12 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7c8a20f..bd58c7e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,4 +1,14 @@ -2002-02-11 Benjamin Kosnik <bkoz@redhat.com> +2002-02-13 Benjamin Kosnik <bkoz@redhat.com> + + * src/localename.cc: Remove stdexcept include. + * src/locale-inst.cc: Same. + * src/locale.cc: Same. + * src/functexcept.cc: Remove string includes. + * include/std/std_bitset.h: Remove stdexcept include. + * testsuite/23_containers/bitset_members.cc: Add stdexcept. + * testsuite/23_containers/bitset_ctor.cc: Same. + +2002-02-11 Benjamin Kosnik <bkoz@redhat.com> * include/bits/stl_algo (__stl_threshold): Declare external. (__stl_chunk_size): Same. diff --git a/libstdc++-v3/include/std/std_bitset.h b/libstdc++-v3/include/std/std_bitset.h index 6abd106..a613439 100644 --- a/libstdc++-v3/include/std/std_bitset.h +++ b/libstdc++-v3/include/std/std_bitset.h @@ -64,7 +64,6 @@ #include <cstddef> // for size_t #include <cstring> // for memset #include <string> -#include <stdexcept> #include <bits/functexcept.h> // for invalid_argument, out_of_range, // overflow_error #include <ostream> // for ostream (operator<<) diff --git a/libstdc++-v3/src/functexcept.cc b/libstdc++-v3/src/functexcept.cc index 9798e8f..dab6f2f 100644 --- a/libstdc++-v3/src/functexcept.cc +++ b/libstdc++-v3/src/functexcept.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2001 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002 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,11 +28,10 @@ #include <bits/functexcept.h> #include <cstdlib> #include <exception> +#include <stdexcept> #include <new> #include <typeinfo> -#include <stdexcept> #include <ios> -#include <string> namespace std { diff --git a/libstdc++-v3/src/locale-inst.cc b/libstdc++-v3/src/locale-inst.cc index ff0dfd5..598c3c3 100644 --- a/libstdc++-v3/src/locale-inst.cc +++ b/libstdc++-v3/src/locale-inst.cc @@ -37,7 +37,6 @@ #include <cassert> #include <limits> #include <exception> -#include <stdexcept> #include <locale> #include <istream> #include <ostream> diff --git a/libstdc++-v3/src/locale.cc b/libstdc++-v3/src/locale.cc index 5209182..0cea95b 100644 --- a/libstdc++-v3/src/locale.cc +++ b/libstdc++-v3/src/locale.cc @@ -1,4 +1,5 @@ -// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 +// 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,7 +32,6 @@ #include <cctype> #include <limits> #include <exception> -#include <stdexcept> #include <locale> #include <istream> #include <ostream> diff --git a/libstdc++-v3/src/localename.cc b/libstdc++-v3/src/localename.cc index 816f758..ad81648 100644 --- a/libstdc++-v3/src/localename.cc +++ b/libstdc++-v3/src/localename.cc @@ -1,4 +1,5 @@ -// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 +// 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 @@ -29,7 +30,6 @@ #include <cstring> #include <locale> #include <vector> -#include <stdexcept> namespace std { diff --git a/libstdc++-v3/testsuite/23_containers/bitset_ctor.cc b/libstdc++-v3/testsuite/23_containers/bitset_ctor.cc index 8f9008f..c568e22 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset_ctor.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset_ctor.cc @@ -1,6 +1,6 @@ // 1999-06-08 bkoz -// Copyright (C) 1999, 2000 Free Software Foundation, Inc. +// Copyright (C) 1999, 2000, 2002 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 <string> #include <bitset> +#include <stdexcept> #include <testsuite_hooks.h> bool test01(void) diff --git a/libstdc++-v3/testsuite/23_containers/bitset_members.cc b/libstdc++-v3/testsuite/23_containers/bitset_members.cc index f9a9726..a87b88d 100644 --- a/libstdc++-v3/testsuite/23_containers/bitset_members.cc +++ b/libstdc++-v3/testsuite/23_containers/bitset_members.cc @@ -1,6 +1,6 @@ // 2001-06-03 pme -// Copyright (C) 2001 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002 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 @@ // 23.3.5.2 bitset members #include <bitset> +#include <stdexcept> #include <testsuite_hooks.h> void |