aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-03-22 20:57:35 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-03-22 20:57:35 +0000
commitfb5550a0683db88d534c2795b76e5e9dd9e7f06d (patch)
treee93597dc9a3ca744e4af4bfd9deced013fd2f0aa
parent23843f474011fe7f29604a28e5da7294dd27147e (diff)
downloadgcc-fb5550a0683db88d534c2795b76e5e9dd9e7f06d.zip
gcc-fb5550a0683db88d534c2795b76e5e9dd9e7f06d.tar.gz
gcc-fb5550a0683db88d534c2795b76e5e9dd9e7f06d.tar.bz2
Remove broken links from libstdc++ manual to Doxygen pages
The Doxygen docs do not have stable URLs, so linking to specific pages doesn't work well. * doc/xml/manual/backwards_compatibility.xml: Remove link to Doxygen-generated pages with unstable URL. * doc/xml/manual/concurrency_extensions.xml: Likewise. * doc/xml/manual/extensions.xml: Likewise. * doc/xml/manual/parallel_mode.xml: Likewise. * doc/xml/manual/support.xml: Likewise. From-SVN: r269881
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/doc/xml/manual/backwards_compatibility.xml5
-rw-r--r--libstdc++-v3/doc/xml/manual/concurrency_extensions.xml2
-rw-r--r--libstdc++-v3/doc/xml/manual/extensions.xml10
-rw-r--r--libstdc++-v3/doc/xml/manual/parallel_mode.xml4
-rw-r--r--libstdc++-v3/doc/xml/manual/support.xml4
6 files changed, 21 insertions, 11 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 2a3021a..061ec7f 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,12 @@
2019-03-22 Jonathan Wakely <jwakely@redhat.com>
+ * doc/xml/manual/backwards_compatibility.xml: Remove link to
+ Doxygen-generated pages with unstable URL.
+ * doc/xml/manual/concurrency_extensions.xml: Likewise.
+ * doc/xml/manual/extensions.xml: Likewise.
+ * doc/xml/manual/parallel_mode.xml: Likewise.
+ * doc/xml/manual/support.xml: Likewise.
+
* include/bits/stl_algobase.h (__lg): Do arithmetic on type int to
avoid -Wconversion warnings.
diff --git a/libstdc++-v3/doc/xml/manual/backwards_compatibility.xml b/libstdc++-v3/doc/xml/manual/backwards_compatibility.xml
index aa95f3e..8d97c21 100644
--- a/libstdc++-v3/doc/xml/manual/backwards_compatibility.xml
+++ b/libstdc++-v3/doc/xml/manual/backwards_compatibility.xml
@@ -761,8 +761,9 @@ No <code>stream::attach(int fd)</code>
<para>
An extension is available that implements this.
- <filename class="headerfile">&lt;ext/stdio_filebuf.h&gt;</filename> contains a derived class called
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00074.html"><code>__gnu_cxx::stdio_filebuf</code></link>.
+ <filename class="headerfile">&lt;ext/stdio_filebuf.h&gt;</filename>
+ contains a derived class called
+ <classname>__gnu_cxx::stdio_filebuf</classname>.
This class can be constructed from a C <code>FILE*</code> or a file
descriptor, and provides the <code>fd()</code> function.
</para>
diff --git a/libstdc++-v3/doc/xml/manual/concurrency_extensions.xml b/libstdc++-v3/doc/xml/manual/concurrency_extensions.xml
index cb79c20..663ae5e 100644
--- a/libstdc++-v3/doc/xml/manual/concurrency_extensions.xml
+++ b/libstdc++-v3/doc/xml/manual/concurrency_extensions.xml
@@ -290,7 +290,7 @@ the current host. In libstdc++ implementation files,
</para>
<para>Within libstdc++ sources, all calls to underlying thread functionality
-use this layer. More detail as to the specific interface can be found in the source <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00883_source.html">documentation</link>.
+use this layer. More detail as to the specific interface can be found in the source <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/index.html">documentation</link>.
</para>
<para>By design, the gthread layer is interoperable with the types,
diff --git a/libstdc++-v3/doc/xml/manual/extensions.xml b/libstdc++-v3/doc/xml/manual/extensions.xml
index 84a995a..8912e39 100644
--- a/libstdc++-v3/doc/xml/manual/extensions.xml
+++ b/libstdc++-v3/doc/xml/manual/extensions.xml
@@ -479,11 +479,13 @@ get_temporary_buffer(5, (int*)0);
so if you perform any I/O directly, don't expect the library to be
aware of it.
</para></listitem>
- <listitem><para>Beginning with 3.1, the extra <code>filebuf</code> constructor and
+ <listitem><para>Beginning with 3.1, the extra
+ <classname>basic_filebuf</classname> constructor and
the <code>fd()</code> function were removed from the standard
- filebuf. Instead, <code>&lt;ext/stdio_filebuf.h&gt;</code> contains
- a derived class called
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00074.html"><code>__gnu_cxx::stdio_filebuf</code></link>.
+ filebuf. Instead,
+ <filename class="headerfile">&lt;ext/stdio_filebuf.h&gt;</filename>
+ contains a derived class template called
+ <classname>__gnu_cxx::stdio_filebuf</classname>.
This class can be constructed from a C <code>FILE*</code> or a file
descriptor, and provides the <code>fd()</code> function.
</para></listitem>
diff --git a/libstdc++-v3/doc/xml/manual/parallel_mode.xml b/libstdc++-v3/doc/xml/manual/parallel_mode.xml
index abf63ca..60e2088 100644
--- a/libstdc++-v3/doc/xml/manual/parallel_mode.xml
+++ b/libstdc++-v3/doc/xml/manual/parallel_mode.xml
@@ -725,8 +725,8 @@ i. e. it is a singleton. It can be read and written by calling
<code>__gnu_parallel::_Settings::set</code>, respectively.
Please note that the first call return a const object, so direct manipulation
is forbidden.
-See <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01005.html">
- <filename class="headerfile">settings.h</filename></link>
+See <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/index.html">
+ <filename class="headerfile">&lt;parallel/settings.h&gt;</filename></link>
for complete details.
</para>
diff --git a/libstdc++-v3/doc/xml/manual/support.xml b/libstdc++-v3/doc/xml/manual/support.xml
index 573869a..53f4fbc 100644
--- a/libstdc++-v3/doc/xml/manual/support.xml
+++ b/libstdc++-v3/doc/xml/manual/support.xml
@@ -97,8 +97,8 @@
The header <filename class="headerfile">limits</filename> defines
traits classes to give access to various implementation
defined-aspects of the fundamental types. The traits classes --
- fourteen in total -- are all specializations of the template class
- <classname>numeric_limits</classname>, documented <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00593.html">here</link>
+ fourteen in total -- are all specializations of the class template
+ <classname>numeric_limits</classname>
and defined as follows:
</para>