re PR libstdc++/38080 (dead links in libstdc++ headers)
2008-12-01 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/38080 * include/std/iostream: Correct URL. * include/std/streambuf: Same. * include/std/bitset: Same. * include/std/iosfwd: Same. * include/std/fstream: Same. * include/std/istream: Same. * include/std/ostream: Same. * include/std/sstream: Same. * include/bits/basic_ios.h: Same. * include/bits/stl_map.h: Same. * include/bits/stl_set.h: Same. * include/bits/stl_multimap.h: Same. * include/bits/ios_base.h: Same. * include/bits/stl_multiset.h: Same. * include/bits/char_traits.h: Same. * include/bits/stl_relops.h: Same. * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. * testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto. From-SVN: r142344
This commit is contained in:
parent
e03dd84a0d
commit
a40fff0edb
19 changed files with 124 additions and 106 deletions
|
@ -1,3 +1,25 @@
|
|||
2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
PR libstdc++/38080
|
||||
* include/std/iostream: Correct URL.
|
||||
* include/std/streambuf: Same.
|
||||
* include/std/bitset: Same.
|
||||
* include/std/iosfwd: Same.
|
||||
* include/std/fstream: Same.
|
||||
* include/std/istream: Same.
|
||||
* include/std/ostream: Same.
|
||||
* include/std/sstream: Same.
|
||||
* include/bits/basic_ios.h: Same.
|
||||
* include/bits/stl_map.h: Same.
|
||||
* include/bits/stl_set.h: Same.
|
||||
* include/bits/stl_multimap.h: Same.
|
||||
* include/bits/ios_base.h: Same.
|
||||
* include/bits/stl_multiset.h: Same.
|
||||
* include/bits/char_traits.h: Same.
|
||||
* include/bits/stl_relops.h: Same.
|
||||
* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
|
||||
* testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
|
||||
|
||||
2008-11-26 Janis Johnson <janis187@us.ibm.com>
|
||||
|
||||
PR testsuite/28870
|
||||
|
|
|
@ -398,7 +398,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
* with this stream, calls that buffer's @c pubimbue(loc).
|
||||
*
|
||||
* Additional l10n notes are at
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/localization.html
|
||||
*/
|
||||
locale
|
||||
imbue(const locale& __loc);
|
||||
|
@ -418,7 +418,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
* @endcode
|
||||
*
|
||||
* Additional l10n notes are at
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/localization.html
|
||||
*/
|
||||
char
|
||||
narrow(char_type __c, char __dfault) const
|
||||
|
@ -437,7 +437,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
* @endcode
|
||||
*
|
||||
* Additional l10n notes are at
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/localization.html
|
||||
*/
|
||||
char_type
|
||||
widen(char __c) const
|
||||
|
|
|
@ -87,7 +87,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
|
|||
* may not be specialized for fundamental types, but classes in
|
||||
* namespace __gnu_cxx may be.
|
||||
*
|
||||
* See http://gcc.gnu.org/onlinedocs/libstdc++/21_strings/howto.html#5
|
||||
* See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt05ch13s03.html
|
||||
* for advice on how to make use of this class for "unusual" character
|
||||
* types. Also, check out include/ext/pod_char_traits.h.
|
||||
*/
|
||||
|
@ -228,7 +228,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
* __gnu_cxx::char_traits, it is possible to achieve a more
|
||||
* appropriate definition by specializing __gnu_cxx::char_traits.
|
||||
*
|
||||
* See http://gcc.gnu.org/onlinedocs/libstdc++/21_strings/howto.html#5
|
||||
* See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt05ch13s03.html
|
||||
* for advice on how to make use of this class for "unusual" character
|
||||
* types. Also, check out include/ext/pod_char_traits.h.
|
||||
*/
|
||||
|
|
|
@ -223,7 +223,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
failure(const string& __str) throw();
|
||||
|
||||
// This declaration is not useless:
|
||||
// http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_6.html#SEC118
|
||||
// http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Vague-Linkage.html
|
||||
virtual
|
||||
~failure() throw();
|
||||
|
||||
|
@ -376,8 +376,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
|
||||
/// Perform input and output in binary mode (as opposed to text mode).
|
||||
/// This is probably not what you think it is; see
|
||||
/// http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#3 and
|
||||
/// http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#7 for more.
|
||||
/// http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch27s02.html
|
||||
static const openmode binary = _S_bin;
|
||||
|
||||
/// Open for input. Default for @c ifstream and fstream.
|
||||
|
@ -671,7 +670,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
* The synchronization referred to is @e only that between the standard
|
||||
* C facilities (e.g., stdout) and the standard C++ objects (e.g.,
|
||||
* cout). User-declared streams are unaffected. See
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#8 for more.
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch28s02.html
|
||||
*/
|
||||
static bool
|
||||
sync_with_stdio(bool __sync = true);
|
||||
|
|
|
@ -536,7 +536,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
|
|||
* cause no gains in efficiency.
|
||||
*
|
||||
* See
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
|
||||
* for more on "hinting".
|
||||
*
|
||||
* Insertion requires logarithmic time (if the hint is not taken).
|
||||
|
|
|
@ -458,8 +458,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
|
|||
* improve the performance of the insertion process. A bad hint would
|
||||
* cause no gains in efficiency.
|
||||
*
|
||||
* See http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
|
||||
* for more on "hinting".
|
||||
* For more on "hinting," see:
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
|
||||
*
|
||||
* Insertion requires logarithmic time (if the hint is not taken).
|
||||
*/
|
||||
|
@ -468,7 +468,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
|
|||
{ return _M_t._M_insert_equal_(__position, __x); }
|
||||
|
||||
/**
|
||||
* @brief A template function that attempts to insert a range of elements.
|
||||
* @brief A template function that attempts to insert a range
|
||||
* of elements.
|
||||
* @param first Iterator pointing to the start of the range to be
|
||||
* inserted.
|
||||
* @param last Iterator pointing to the end of the range.
|
||||
|
|
|
@ -420,7 +420,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
|
|||
* improve the performance of the insertion process. A bad hint would
|
||||
* cause no gains in efficiency.
|
||||
*
|
||||
* See http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
|
||||
* See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
|
||||
* for more on "hinting".
|
||||
*
|
||||
* Insertion requires logarithmic time (if the hint is not taken).
|
||||
|
|
|
@ -60,8 +60,8 @@
|
|||
* Inclusion of this file has been removed from
|
||||
* all of the other STL headers for safety reasons, except std_utility.h.
|
||||
* For more information, see the thread of about twenty messages starting
|
||||
* with http://gcc.gnu.org/ml/libstdc++/2001-01/msg00223.html , or the
|
||||
* FAQ at http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#4_4 .
|
||||
* with http://gcc.gnu.org/ml/libstdc++/2001-01/msg00223.html, or
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.ambiguous_overloads
|
||||
*
|
||||
* Short summary: the rel_ops operators should be avoided for the present.
|
||||
*/
|
||||
|
|
|
@ -432,8 +432,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
|
|||
* potentially improve the performance of the insertion process. A bad
|
||||
* hint would cause no gains in efficiency.
|
||||
*
|
||||
* See http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
|
||||
* for more on "hinting".
|
||||
* For more on "hinting", see:
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
|
||||
*
|
||||
* Insertion requires logarithmic time (if the hint is not taken).
|
||||
*/
|
||||
|
@ -442,7 +442,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
|
|||
{ return _M_t._M_insert_unique_(__position, __x); }
|
||||
|
||||
/**
|
||||
* @brief A template function that attempts to insert a range of elements.
|
||||
* @brief A template function that attempts to insert a range
|
||||
* of elements.
|
||||
* @param first Iterator pointing to the start of the range to be
|
||||
* inserted.
|
||||
* @param last Iterator pointing to the end of the range.
|
||||
|
|
|
@ -634,7 +634,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
|
|||
* }
|
||||
* @endcode
|
||||
*
|
||||
* Also see http://gcc.gnu.org/onlinedocs/libstdc++/ext/sgiexts.html#ch23
|
||||
* Also see:
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch33s02.html
|
||||
* for a description of extensions.
|
||||
*
|
||||
* Most of the actual code isn't contained in %bitset<> itself, but in the
|
||||
|
|
|
@ -325,7 +325,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
* If no file has been opened, and both @a s and @a n are zero, then
|
||||
* the stream becomes unbuffered. Otherwise, @c s is used as a
|
||||
* buffer; see
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#2
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html
|
||||
* for more.
|
||||
*/
|
||||
virtual __streambuf_type*
|
||||
|
|
|
@ -125,7 +125,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
* themselves (e.g., "class ostream;") is not valid ISO C++.
|
||||
*
|
||||
* For more specific declarations, see
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#10
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch24.html
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Standard iostream objects -*- C++ -*-
|
||||
|
||||
// Copyright (C) 1997, 1998, 1999, 2001, 2002, 2005
|
||||
// Copyright (C) 1997, 1998, 1999, 2001, 2002, 2005, 2008
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
|
@ -52,8 +52,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
*
|
||||
* The <iostream> header declares the eight <em>standard stream
|
||||
* objects</em>. For other declarations, see
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#10 and the
|
||||
* @link s27_2_iosfwd I/O forward declarations @endlink
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch24.html
|
||||
* and the @link s27_2_iosfwd I/O forward declarations @endlink
|
||||
*
|
||||
* They are required by default to cooperate with the global C library's
|
||||
* @c FILE streams, and to be available during program startup and
|
||||
|
|
|
@ -630,10 +630,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
* Objects of this class are created before all of the standard
|
||||
* extractors are run. It is responsible for "exception-safe prefix and
|
||||
* suffix operations," although only prefix actions are currently required
|
||||
* by the standard. Additional actions may be added by the
|
||||
* implementation, and we list them in
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/howto.html#5
|
||||
* under [27.6] notes.
|
||||
* by the standard.
|
||||
*/
|
||||
template<typename _CharT, typename _Traits>
|
||||
class basic_istream<_CharT, _Traits>::sentry
|
||||
|
|
|
@ -375,10 +375,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
*
|
||||
* Objects of this class are created before all of the standard
|
||||
* inserters are run. It is responsible for "exception-safe prefix and
|
||||
* suffix operations." Additional actions may be added by the
|
||||
* implementation, and we list them in
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/howto.html#5
|
||||
* under [27.6] notes.
|
||||
* suffix operations."
|
||||
*/
|
||||
template <typename _CharT, typename _Traits>
|
||||
class basic_ostream<_CharT, _Traits>::sentry
|
||||
|
|
|
@ -193,7 +193,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
*
|
||||
* If no buffer has already been created, and both @a s and @a n are
|
||||
* non-zero, then @c s is used as a buffer; see
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#2
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html
|
||||
* for more.
|
||||
*/
|
||||
virtual __streambuf_type*
|
||||
|
|
|
@ -563,8 +563,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
*
|
||||
* Each derived class provides its own appropriate behavior. See
|
||||
* the next-to-last paragraph of
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#2 for
|
||||
* more on this function.
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html
|
||||
* for more on this function.
|
||||
*
|
||||
* @note Base class version does nothing, returns @c this.
|
||||
*/
|
||||
|
@ -660,7 +660,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
|||
*
|
||||
* A functioning input streambuf can be created by overriding only
|
||||
* this function (no buffer area will be used). For an example, see
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#6
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25.html
|
||||
*
|
||||
* @note Base class version does nothing, returns eof().
|
||||
*/
|
||||
|
|
|
@ -43,5 +43,5 @@ void test01()
|
|||
}
|
||||
// { dg-error "synthesized" "" { target *-*-* } 42 }
|
||||
// { dg-error "within this context" "" { target *-*-* } 35 }
|
||||
// { dg-error "is private" "" { target *-*-* } 794 }
|
||||
// { dg-error "is private" "" { target *-*-* } 793 }
|
||||
// { dg-error "operator=" "" { target *-*-* } 0 }
|
||||
|
|
|
@ -43,5 +43,5 @@ void test02()
|
|||
}
|
||||
// { dg-error "within this context" "" { target *-*-* } 36 }
|
||||
// { dg-error "synthesized" "" { target *-*-* } 42 }
|
||||
// { dg-error "is private" "" { target *-*-* } 791 }
|
||||
// { dg-error "is private" "" { target *-*-* } 790 }
|
||||
// { dg-error "copy constructor" "" { target *-*-* } 0 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue