From a1ffe9b6f4d0e2dd9493c5bd669fc5a2ea24a6f9 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 1 Jun 2020 16:40:13 +0100 Subject: [PATCH] libstdc++: Fix incorrect Docbook links The element creates the link text automatically from the link target, rather than using the text node child of the element. This can be changed by using an endterm attribute, but it's simpler to just use the element instead. * doc/xml/manual/containers.xml: Replace with . * doc/xml/manual/evolution.xml: Likewise. * doc/html/manual/api.html: Regenerate. * doc/html/manual/containers.html: Regenerate. --- libstdc++-v3/doc/html/manual/api.html | 3 ++- libstdc++-v3/doc/html/manual/containers.html | 3 ++- libstdc++-v3/doc/xml/manual/containers.xml | 4 ++-- libstdc++-v3/doc/xml/manual/evolution.xml | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/libstdc++-v3/doc/html/manual/api.html b/libstdc++-v3/doc/html/manual/api.html index 345c58802a4..261e7493d41 100644 --- a/libstdc++-v3/doc/html/manual/api.html +++ b/libstdc++-v3/doc/html/manual/api.html @@ -298,7 +298,8 @@ now defaults to zero. Support for mathematical special functions (ISO/IEC 29124:2010) added.

Assertions to check function preconditions can be enabled by defining the - Macros. + _GLIBCXX_ASSERTIONS + macro. The initial set of assertions are a subset of the checks enabled by the Debug Mode, but without the ABI changes and changes to algorithmic complexity that are caused by enabling the full Debug Mode. diff --git a/libstdc++-v3/doc/html/manual/containers.html b/libstdc++-v3/doc/html/manual/containers.html index e4030c4a694..7035a949074 100644 --- a/libstdc++-v3/doc/html/manual/containers.html +++ b/libstdc++-v3/doc/html/manual/containers.html @@ -8,7 +8,8 @@ Containers

Sequences

list

list::size() is O(n)

- Yes it is, at least using the Dual ABI, and that's okay. This is a decision that we preserved + Yes it is, at least using the old + ABI, and that's okay. This is a decision that we preserved when we imported SGI's STL implementation. The following is quoted from their FAQ:

diff --git a/libstdc++-v3/doc/xml/manual/containers.xml b/libstdc++-v3/doc/xml/manual/containers.xml index 5c9854efbdd..6d568164b47 100644 --- a/libstdc++-v3/doc/xml/manual/containers.xml +++ b/libstdc++-v3/doc/xml/manual/containers.xml @@ -25,8 +25,8 @@

list::size() is O(n) - Yes it is, at least using the old - ABI, and that's okay. This is a decision that we preserved + Yes it is, at least using the old + ABI, and that's okay. This is a decision that we preserved when we imported SGI's STL implementation. The following is quoted from their FAQ: diff --git a/libstdc++-v3/doc/xml/manual/evolution.xml b/libstdc++-v3/doc/xml/manual/evolution.xml index 1bd7bb1bb9f..ab04c1ad272 100644 --- a/libstdc++-v3/doc/xml/manual/evolution.xml +++ b/libstdc++-v3/doc/xml/manual/evolution.xml @@ -784,8 +784,8 @@ now defaults to zero. Assertions to check function preconditions can be enabled by defining the - _GLIBCXX_ASSERTIONS - macro. + _GLIBCXX_ASSERTIONS + macro. The initial set of assertions are a subset of the checks enabled by the Debug Mode, but without the ABI changes and changes to algorithmic complexity that are caused by enabling the full Debug Mode. -- 2.30.2