public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3595] libstdc++: Update documentation that only refers to c++98 and c++11
@ 2021-09-16 22:07 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-09-16 22:07 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:bd0df30a7bc7a2e98e643cf84901e5383f83c005
commit r12-3595-gbd0df30a7bc7a2e98e643cf84901e5383f83c005
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Sep 16 15:36:31 2021 +0100
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.
Diff:
---
libstdc++-v3/doc/html/manual/using_macros.html | 2 +-
libstdc++-v3/doc/xml/manual/using.xml | 2 +-
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 44afa81f614..edbbd03c336 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 24543e9526e..65fde4609db 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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-16 22:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16 22:07 [gcc r12-3595] libstdc++: Update documentation that only refers to c++98 and c++11 Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).