* [wwwdocs] Document new libstdc++ header dependency changes
@ 2023-01-16 10:50 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-01-16 10:50 UTC (permalink / raw)
To: libstdc++, gcc-patches
Pushed to wwwdocs.
-- >8 --
---
htdocs/gcc-13/porting_to.html | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/htdocs/gcc-13/porting_to.html b/htdocs/gcc-13/porting_to.html
index 7a67c0b0..9a9a3147 100644
--- a/htdocs/gcc-13/porting_to.html
+++ b/htdocs/gcc-13/porting_to.html
@@ -34,12 +34,26 @@ including the right headers will no longer compile.
</p>
<p>
The following headers are used less widely in libstdc++ and may need to
-be included explicitly when compiled with GCC 13:
+be included explicitly when compiling with GCC 13:
</p>
<ul>
+<li> <code><string></code>
+ (for <code>std::string</code>, <code>std::to_string</code>,
+ <code>std::stoi</code> etc.)
+</li>
+<li> <code><system_error></code>
+ (for <code>std::error_code</code>, <code>std::error_category</code>,
+ <code>std::system_error</code>).
+</li>
<li> <code><cstdint></code>
(for <code>std::int8_t</code>, <code>std::int32_t</code> etc.)
</li>
+<li> <code><cstdio></code>
+ (for <code>std::printf</code>, <code>std::fopen</code> etc.)
+</li>
+<li> <code><cstdlib></code>
+ (for <code>std::strtol</code>, <code>std::malloc</code> etc.)
+</li>
</ul>
<h3 id="P2266">Implicit move rules change</h3>
--
2.39.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-16 10:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-16 10:50 [wwwdocs] Document new libstdc++ header dependency changes 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).