From 158be8eb71fd95c8aebbc1ddd7942f4c9593ce68 Mon Sep 17 00:00:00 2001
From: Jonathan Wakely
Date: Mon, 10 Dec 2007 19:58:19 +0000
Subject: [PATCH] backwards_compatibility.html: Fix markup.
2007-12-10 Jonathan Wakely
* docs/html/17_intro/backwards_compatibility.html: Fix markup.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/18_support/howto.html: Likewise.
* docs/html/ext/concurrence.html: Likewise.
* docs/html/documentation.html: Likewise.
From-SVN: r130748
---
libstdc++-v3/ChangeLog | 8 ++++++++
.../html/17_intro/backwards_compatibility.html | 16 ++++++++--------
libstdc++-v3/docs/html/17_intro/howto.html | 8 ++++----
libstdc++-v3/docs/html/18_support/howto.html | 6 +++---
libstdc++-v3/docs/html/documentation.html | 2 +-
libstdc++-v3/docs/html/ext/concurrence.html | 14 +++++++-------
6 files changed, 31 insertions(+), 23 deletions(-)
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 10707515586..aca4a736cb7 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,11 @@
+2007-12-10 Jonathan Wakely
+
+ * docs/html/17_intro/backwards_compatibility.html: Fix markup.
+ * docs/html/17_intro/howto.html: Likewise.
+ * docs/html/18_support/howto.html: Likewise.
+ * docs/html/ext/concurrence.html: Likewise.
+ * docs/html/documentation.html: Likewise.
+
2007-12-10 Paolo Carlini
* testsuite/tr1/5_numerical_facilities/random/linear_congruential/
diff --git a/libstdc++-v3/docs/html/17_intro/backwards_compatibility.html b/libstdc++-v3/docs/html/17_intro/backwards_compatibility.html
index bc1497bdde0..c9af980f0fc 100644
--- a/libstdc++-v3/docs/html/17_intro/backwards_compatibility.html
+++ b/libstdc++-v3/docs/html/17_intro/backwards_compatibility.html
@@ -137,7 +137,7 @@ dnl HAVE_NAMESPACE_STD.
dnl
dnl @category Cxx
dnl @author Todd Veldhuizen
-dnl @author Luc Maisonobe
+dnl @author Luc Maisonobe <luc@spaceroots.org>
dnl @version 2004-02-04
dnl @license AllPermissive
AC_DEFUN([AC_CXX_NAMESPACE_STD], [
@@ -145,8 +145,8 @@ AC_DEFUN([AC_CXX_NAMESPACE_STD], [
ac_cv_cxx_have_std_namespace,
[AC_LANG_SAVE
AC_LANG_CPLUSPLUS
- AC_TRY_COMPILE([#include
- std::istream& is = std::cin;],,
+ AC_TRY_COMPILE([#include <iostream>
+ std::istream& is = std::cin;],,
ac_cv_cxx_have_std_namespace=yes, ac_cv_cxx_have_std_namespace=no)
AC_LANG_RESTORE
])
@@ -557,7 +557,7 @@ AC_DEFUN([AC_HEADER_EXT_HASH_MAP], [
AC_LANG_CPLUSPLUS
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Werror"
- AC_TRY_COMPILE([#include ], [using __gnu_cxx::hash_map;],
+ AC_TRY_COMPILE([#include <ext/hash_map>], [using __gnu_cxx::hash_map;],
ac_cv_cxx_ext_hash_map=yes, ac_cv_cxx_ext_hash_map=no)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
@@ -577,7 +577,7 @@ AC_DEFUN([AC_HEADER_EXT_HASH_SET], [
AC_LANG_CPLUSPLUS
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Werror"
- AC_TRY_COMPILE([#include ], [using __gnu_cxx::hash_set;],
+ AC_TRY_COMPILE([#include <ext/hash_set>], [using __gnu_cxx::hash_set;],
ac_cv_cxx_ext_hash_set=yes, ac_cv_cxx_ext_hash_set=no)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
@@ -837,7 +837,7 @@ AC_DEFUN([AC_COMPILE_STDCXX_0X], [
typedef check<int> check_type;
check_type c;
- check_type&& cr = c;],,
+ check_type&& cr = c;],,
ac_cv_cxx_compile_cxx0x_native=yes, ac_cv_cxx_compile_cxx0x_native=no)
AC_LANG_RESTORE
])
@@ -862,7 +862,7 @@ AC_DEFUN([AC_COMPILE_STDCXX_0X], [
typedef check<int> check_type;
check_type c;
- check_type&& cr = c;],,
+ check_type&& cr = c;],,
ac_cv_cxx_compile_cxx0x_cxx=yes, ac_cv_cxx_compile_cxx0x_cxx=no)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
@@ -888,7 +888,7 @@ AC_DEFUN([AC_COMPILE_STDCXX_0X], [
typedef check<int> check_type;
check_type c;
- check_type&& cr = c;],,
+ check_type&& cr = c;],,
ac_cv_cxx_compile_cxx0x_gxx=yes, ac_cv_cxx_compile_cxx0x_gxx=no)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
diff --git a/libstdc++-v3/docs/html/17_intro/howto.html b/libstdc++-v3/docs/html/17_intro/howto.html
index 3e1bba08acb..09f1a3c370a 100644
--- a/libstdc++-v3/docs/html/17_intro/howto.html
+++ b/libstdc++-v3/docs/html/17_intro/howto.html
@@ -127,7 +127,7 @@ the 1998 standard as updated for 2003, and the draft of the upcoming
TR1 Headers for C Library Facilities
<tr1/cmath> | <tr1/cfloat> | <tr1/cstdarg> | <tr1/cstdio> | <tr1/ctime> |
<tr1/ccomplex> | <tr1/cinttypes> | <tr1/cstdbool> | <tr1/cstdlib> | <tr1/cwchar> |
-<tr1/cfenv> | <tr1/climits> | <tr1/cstdint> | <tr1/ctgmath> | <tr1/cwctype> | |
+<tr1/cfenv> | <tr1/climits> | <tr1/cstdint> | <tr1/ctgmath> | <tr1/cwctype> |
Also included are files for the C++ ABI interface:
@@ -142,7 +142,7 @@ the 1998 standard as updated for 2003, and the draft of the upcoming
Extension Headers
<ext/algorithm> | <ext/debug_allocator.h> | <ext/mt_allocator.h> | <ext/pod_char_traits.h> | <ext/stdio_sync_filebuf.h> |
<ext/array_allocator.h> | <ext/enc_filebuf.h> | <ext/new_allocator.h> | <ext/pool_allocator.h> | <ext/throw_allocator.h> |
-<ext/atomicity.h> | <ext/functional> | <ext/numeric> | <ext/rb_tree> | <ext/typelist.h> | |
+<ext/atomicity.h> | <ext/functional> | <ext/numeric> | <ext/rb_tree> | <ext/typelist.h> |
<ext/bitmap_allocator.h> | <ext/iterator> | <ext/numeric_traits.h> | <ext/rope> | <ext/type_traits.h> |
<ext/codecvt_specializations.h> | <ext/malloc_allocator.h> | <ext/pb_ds/assoc_container.h> | <ext/slist> | <ext/vstring.h> |
<ext/concurrence.h> | <ext/memory> | <ext/pb_ds/priority_queue.h> | <ext/stdio_filebuf.h> |
@@ -162,7 +162,7 @@ the 1998 standard as updated for 2003, and the draft of the upcoming
-
+
A few simple rules.
@@ -263,7 +263,7 @@ this is:
g++ -v hello.cc
-#include <...> search starts here:
+#include <...> search starts here:
/mnt/share/bld/H-x86-gcc.20071201/include/c++/4.3.0
...
End of search list.
diff --git a/libstdc++-v3/docs/html/18_support/howto.html b/libstdc++-v3/docs/html/18_support/howto.html
index dc5bc2a067d..d7ea434db2d 100644
--- a/libstdc++-v3/docs/html/18_support/howto.html
+++ b/libstdc++-v3/docs/html/18_support/howto.html
@@ -108,8 +108,8 @@
print this stuff, it prompted him to run this code through current
compilers to see what the state of the art is with respect to member
template functions. He posted
- an
- article to Usenet after discovering that the code above is not
+
+ an article to Usenet after discovering that the code above is not
valid! Even though it has no data members, it still needs a
user-defined constructor (which means that the class needs a type name
after all). The ctor can have an empty body; it just needs to be
@@ -248,7 +248,7 @@
struct argument_error : public std::runtime_error
{
- argument_error(const std::string& s): std::runtime_error(s) { }
+ argument_error(const std::string& s): std::runtime_error(s) { }
};
int main(int argc)
diff --git a/libstdc++-v3/docs/html/documentation.html b/libstdc++-v3/docs/html/documentation.html
index d2a736fb5d2..0c7dda3747f 100644
--- a/libstdc++-v3/docs/html/documentation.html
+++ b/libstdc++-v3/docs/html/documentation.html
@@ -79,7 +79,7 @@ href="http://gcc.gnu.org/svn.html">web.
Namespaces
diff --git a/libstdc++-v3/docs/html/ext/concurrence.html b/libstdc++-v3/docs/html/ext/concurrence.html
index e621bc90f12..e6bf4438f63 100644
--- a/libstdc++-v3/docs/html/ext/concurrence.html
+++ b/libstdc++-v3/docs/html/ext/concurrence.html
@@ -90,7 +90,7 @@ __atomic_add_dispatch
-
+
These functions forward to one of several specialized helper
functions, depending on the circumstances. For instance,
@@ -138,7 +138,7 @@ _GLIBCXX_READ_MEM_BARRIER
-GLIBCXX_WRITE_MEM_BARRIER
+_GLIBCXX_WRITE_MEM_BARRIER
@@ -151,10 +151,10 @@ host hardware and operating system.
Pthread Interface
-A thin layer above IEEE 1003.1 (ie pthreads) is used to abastract
+
A thin layer above IEEE 1003.1 (ie pthreads) is used to abstract
the thread interface for GCC. This layer is called "gthread," and is
comprised of one header file that wraps the host's default thread layer with
-a POSIX-like interfaces.
+a POSIX-like interface.
The file <gthr-default.h> points to the deduced wrapper for
@@ -247,11 +247,11 @@ namespace other
foo()
{
__gnu_cxx::__scoped_lock sentry(safe_base_mutex);
- for (int i = 0; i < max; ++i)
+ for (int i = 0; i < max; ++i)
{
_Safe_iterator_base* __old = __iter;
- __iter = __iter->_M_next;
- __old->_M_detach_single();
+ __iter = __iter-<_M_next;
+ __old-<_M_detach_single();
}
}