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  e70082a2a05cfc1d1c2944a066e89de59374d46c (commit)
       via  3062b292084326264d51833ba7a997718e6ffdc4 (commit)
      from  9a77c1a1eb9c35f015e40f7ed2871f967f87e111 (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 e70082a2a05cfc1d1c2944a066e89de59374d46c
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Jan 16 10:47:53 2025 +0000

    Document dependency changes for libstdc++ <ostream> header

diff --git a/htdocs/gcc-15/porting_to.html b/htdocs/gcc-15/porting_to.html
index 2bc0d4e5..b9b2efc7 100644
--- a/htdocs/gcc-15/porting_to.html
+++ b/htdocs/gcc-15/porting_to.html
@@ -153,6 +153,9 @@ may need to be included explicitly when compiling with GCC 
15:
   and <code>&lt;cstdint&gt;</code>
   (for <code>std::int8_t</code>, <code>std::int32_t</code> etc.)
 </li>
+<li> <code>&lt;ostream&gt;</code>
+(for <code>std::endl</code>, <code>std::flush</code> etc.)
+</li>
 </ul>
 
 <h3 id="deprecated-headers">Deprecated headers</h3>

commit 3062b292084326264d51833ba7a997718e6ffdc4
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Jan 16 10:42:00 2025 +0000

    Document libstdc++ headers that are deprecated in GCC 15

diff --git a/htdocs/gcc-15/porting_to.html b/htdocs/gcc-15/porting_to.html
index c446e309..2bc0d4e5 100644
--- a/htdocs/gcc-15/porting_to.html
+++ b/htdocs/gcc-15/porting_to.html
@@ -155,6 +155,17 @@ may need to be included explicitly when compiling with GCC 
15:
 </li>
 </ul>
 
+<h3 id="deprecated-headers">Deprecated headers</h3>
+<p>
+Some C++ Standard Library headers now produce deprecation warnings when
+included. The warnings suggest how to adjust the code to avoid the warning,
+for example all uses of <code>&lt;cstdbool&gt;</code> and
+<code>&lt;cstdalign&gt;</code> can simply be removed,
+because they serve no purpose and are unnecessary in C++ programs.
+Most uses of <code>&lt;ccomplex&gt;</code> can be adjusted to use
+<code>&lt;complex&gt;</code> instead, and uses of <code>&lt;ctgmath&gt;</code>
+can use <code>&lt;cmath&gt;</code> and/or <code>&lt;complex&gt;</code>.
+</p>
 
 <!-- <h2 id="fortran">Fortran language issues</h2> -->
 

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

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


hooks/post-receive
-- 
gcc-wwwdocs

Reply via email to