public inbox for gcc-cvs-wwwdocs@sourceware.org
help / color / mirror / Atom feed
* gcc-wwwdocs branch master updated. 9cd4fe743aa154894653d19a2352e3272e4c3426
@ 2023-01-16 10:49 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-01-16 10:49 UTC (permalink / raw)
  To: gcc-cvs-wwwdocs

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".

The branch, master has been updated
       via  9cd4fe743aa154894653d19a2352e3272e4c3426 (commit)
      from  cc002b7c948f5e75e6bdd84daef4d1e47fc6dc74 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9cd4fe743aa154894653d19a2352e3272e4c3426
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Mon Jan 16 10:43:10 2023 +0000

    Document new libstdc++ header dependency changes

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>&lt;string&gt;</code>
+  (for <code>std::string</code>, <code>std::to_string</code>,
+  <code>std::stoi</code> etc.)
+</li>
+<li> <code>&lt;system_error&gt;</code>
+  (for <code>std::error_code</code>, <code>std::error_category</code>,
+  <code>std::system_error</code>).
+</li>
 <li> <code>&lt;cstdint&gt;</code>
   (for <code>std::int8_t</code>, <code>std::int32_t</code> etc.)
 </li>
+<li> <code>&lt;cstdio&gt;</code>
+  (for <code>std::printf</code>, <code>std::fopen</code> etc.)
+</li>
+<li> <code>&lt;cstdlib&gt;</code>
+  (for <code>std::strtol</code>, <code>std::malloc</code> etc.)
+</li>
 </ul>
 
 <h3 id="P2266">Implicit move rules change</h3>

-----------------------------------------------------------------------

Summary of changes:
 htdocs/gcc-13/porting_to.html | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gcc-wwwdocs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-16 10:49 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:49 gcc-wwwdocs branch master updated. 9cd4fe743aa154894653d19a2352e3272e4c3426 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).