* [committed] libstdc++: Document linker option for C++23 <stacktrace> [PR105678]
@ 2022-08-22 21:53 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-08-22 21:53 UTC (permalink / raw)
To: libstdc++, gcc-patches
Tested powerpc64le-linux, pushed to trunk. Needs backporting.
-- >8 --
libstdc++-v3/ChangeLog:
PR libstdc++/105678
* doc/xml/manual/using.xml: Document -lstdc++_libbacktrace
requirement for using std::stacktrace. Also adjust -frtti and
-fexceptions to document non-default (i.e. negative) forms.
* doc/html/*: Regenerate.
---
diff --git a/libstdc++-v3/doc/xml/manual/using.xml b/libstdc++-v3/doc/xml/manual/using.xml
index 36b86702d22..0b9a0c98518 100644
--- a/libstdc++-v3/doc/xml/manual/using.xml
+++ b/libstdc++-v3/doc/xml/manual/using.xml
@@ -69,12 +69,16 @@
</row>
<row>
- <entry><literal>-fexceptions</literal></entry>
+ <entry>
+ <literal>-fno-exceptions</literal>
+ </entry>
<entry>See <link linkend="intro.using.exception.no">exception-free dialect</link></entry>
</row>
<row>
- <entry><literal>-frtti</literal></entry>
+ <entry>
+ <literal>-fno-rtti</literal>
+ </entry>
<entry>As above, but RTTI-free dialect.</entry>
</row>
@@ -104,6 +108,17 @@
</entry>
</row>
+ <row>
+ <entry><literal>-lstdc++_libbacktrace</literal></entry>
+ <entry>Until C++23 support is non-experimental, linking to
+ <filename class="libraryfile">libstdc++_libbacktrace.a</filename>
+ is required for use of the C++23 type
+ <classname>std::stacktrace</classname>
+ and related types in
+ <filename class="headerfile"><stacktrace></filename>.
+ </entry>
+ </row>
+
<row>
<entry><literal>-fopenmp</literal></entry>
<entry>For <link linkend="manual.ext.parallel_mode">parallel</link> mode.</entry>
--
2.37.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-22 21:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-22 21:53 [committed] libstdc++: Document linker option for C++23 <stacktrace> [PR105678] 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).