]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Update documentation that only refers to c++98 and c++11
authorJonathan Wakely <jwakely@redhat.com>
Thu, 16 Sep 2021 14:36:31 +0000 (15:36 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 16 Sep 2021 22:06:38 +0000 (23:06 +0100)
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.

libstdc++-v3/doc/html/manual/using_macros.html
libstdc++-v3/doc/xml/manual/using.xml

index 44afa81f61469a4407f62ce49144194795cfde92..edbbd03c3360b2fb524ce9c7cd444fd100f52809 100644 (file)
@@ -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.
index 24543e9526e4f7550d4a0a1b975af59ebb9e9215..65fde4609dbaca522cdc290c790e65e423cbf4a3 100644 (file)
@@ -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.