On Wed 2024-08-21 09:50:39, Jonathan Wakely wrote: > On Wed, 21 Aug 2024 at 09:48, Filip Kastl <fka...@suse.cz> wrote: > > > > Hi, > > > > this is the second version of my patch. See version 1 here: > > > > https://gcc.gnu.org/pipermail/gcc-patches/2024-August/659584.html > > > > Changes made: > > - Removed plural when referring to the single changed header. From the two > > versions of the text I considered I chose the one with less changes as > > Jonathan suggested. > > - Changed "in libstdc++" to "within libstdc++". > > > > Validated with the W3 Validator. Is this ok to be pushed? > > LGTM. I think I can approve this, since it's documenting libstdc++ > changes and I can approve libstdc++ patches, so unless Gerald has any > further suggestions, please do push - thanks! >
I've waited a few hours in case Gerald chimes in. I'm going to push it now. Hope that's ok. Thanks for the feedback! Filip Kastl > > > > Cheers, > > Filip Kastl > > > > > > --- > > htdocs/gcc-15/changes.html | 3 +- > > htdocs/gcc-15/porting_to.html | 54 +++++++++++++++++++++++++++++++++++ > > 2 files changed, 55 insertions(+), 2 deletions(-) > > create mode 100644 htdocs/gcc-15/porting_to.html > > > > diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html > > index fe7cf3c1..d0d6d147 100644 > > --- a/htdocs/gcc-15/changes.html > > +++ b/htdocs/gcc-15/changes.html > > @@ -17,9 +17,8 @@ > > <p> > > This page is a "brief" summary of some of the huge number of improvements > > in GCC 15. > > -<!-- > > You may also want to check out our > > -<a href="porting_to.html">Porting to GCC 15</a> page and the > > +<a href="porting_to.html">Porting to GCC 15</a> page <!-- and the > > <a href="../onlinedocs/index.html#current">full GCC documentation</a>. > > --> > > </p> > > diff --git a/htdocs/gcc-15/porting_to.html b/htdocs/gcc-15/porting_to.html > > new file mode 100644 > > index 00000000..702cf507 > > --- /dev/null > > +++ b/htdocs/gcc-15/porting_to.html > > @@ -0,0 +1,54 @@ > > +<!DOCTYPE html> > > +<html lang="en"> > > + > > +<head> > > +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> > > +<title>Porting to GCC 15</title> > > +<link rel="stylesheet" type="text/css" href="https://gcc.gnu.org/gcc.css"> > > +</head> > > + > > +<body> > > +<h1>Porting to GCC 15</h1> > > + > > +<p> > > +The GCC 15 release series differs from previous GCC releases in > > +<a href="changes.html">a number of ways</a>. Some of these are a result > > +of bug fixing, and some old behaviors have been intentionally changed > > +to support new standards, or relaxed in standards-conforming ways to > > +facilitate compilation or run-time performance. > > +</p> > > + > > +<p> > > +Some of these changes are user visible and can cause grief when > > +porting to GCC 15. This document is an effort to identify common issues > > +and provide solutions. Let us know if you have suggestions for > > improvements! > > +</p> > > + > > +<p>Note: GCC 15 has not been released yet, so this document is > > +a work-in-progress.</p> > > + > > +<!-- <h2 id="c">C language issues</h2> --> > > + > > +<h2 id="cxx">C++ language issues</h2> > > + > > +<h3 id="header-dep-changes">Header dependency changes</h3> > > +<p>Some C++ Standard Library headers have been changed to no longer include > > +other headers that were being used internally by the library. > > +As such, C++ programs that used standard library components without > > +including the right headers will no longer compile. > > +</p> > > +<p> > > +In particular, the following header is used less widely within libstdc++ > > and > > +may need to be included explicitly when compiling with GCC 15: > > +</p> > > +<ul> > > +<li> <code><cstdint></code> > > + (for <code>std::int8_t</code>, <code>std::int32_t</code> etc.) > > +</li> > > +</ul> > > + > > + > > +<!-- <h2 id="fortran">Fortran language issues</h2> --> > > + > > +</body> > > +</html> > > -- > > 2.45.2 > > >