aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-09-16 15:36:31 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-09-16 23:06:38 +0100
commitbd0df30a7bc7a2e98e643cf84901e5383f83c005 (patch)
treeef4109d6dca914fceb71d1ac68a0fb497a99ac9a
parentcbe705a2f749c98a5f803afeb207e175b4c9a3c3 (diff)
downloadgcc-bd0df30a7bc7a2e98e643cf84901e5383f83c005.zip
gcc-bd0df30a7bc7a2e98e643cf84901e5383f83c005.tar.gz
gcc-bd0df30a7bc7a2e98e643cf84901e5383f83c005.tar.bz2
libstdc++: Update documentation that only refers to c++98 and c++11
Signed-off-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: * doc/xml/manual/using.xml: Generalize to apply to more than just -std=c++11. * doc/html/manual/using_macros.html: Regenerate.
-rw-r--r--libstdc++-v3/doc/html/manual/using_macros.html2
-rw-r--r--libstdc++-v3/doc/xml/manual/using.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/doc/html/manual/using_macros.html b/libstdc++-v3/doc/html/manual/using_macros.html
index 44afa81..edbbd03 100644
--- a/libstdc++-v3/doc/html/manual/using_macros.html
+++ b/libstdc++-v3/doc/html/manual/using_macros.html
@@ -57,7 +57,7 @@
removes older ARM-style iostreams code, and other anachronisms
from the API. This macro is dependent on the version of the
standard being tracked, and as a result may give different results for
- <code class="code">-std=c++98</code> and <code class="code">-std=c++11</code>. This may
+ different <code class="code">-std</code> options. This may
be useful in updating old C++ code which no longer meet the
requirements of the language, or for checking current code
against new language standards.
diff --git a/libstdc++-v3/doc/xml/manual/using.xml b/libstdc++-v3/doc/xml/manual/using.xml
index 24543e9..65fde46 100644
--- a/libstdc++-v3/doc/xml/manual/using.xml
+++ b/libstdc++-v3/doc/xml/manual/using.xml
@@ -1065,7 +1065,7 @@ g++ -Winvalid-pch -I. -include stdc++.h -H -g -O2 hello.cc -o test.exe
removes older ARM-style iostreams code, and other anachronisms
from the API. This macro is dependent on the version of the
standard being tracked, and as a result may give different results for
- <code>-std=c++98</code> and <code>-std=c++11</code>. This may
+ different <code>-std</code> options. This may
be useful in updating old C++ code which no longer meet the
requirements of the language, or for checking current code
against new language standards.