From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 00E193857722; Mon, 30 Oct 2023 15:09:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00E193857722 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1698678577; bh=8bMumMnnVJ6gI/k4gSkmIVEdKLbHm6okttVGedcoGVk=; h=To:Subject:Date:From:From; b=Vj33h8dFCrTnwi6qt9Q+RzECKZLdIUVTVOciyz5ZykGmHggzCUkqNqU4UAvI9Q0JE DxmPeMKDvSHouU31pqIkOmT0FEi1XcAD1ubkHBSItG/qVMaNEhtxUol8HjTz91lhRg zoF675riXnfK7ZNDRT+ynpXr957vRZwHjCCR6I7g= To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. f83141b2c816b09a2dd44ea5a84d868b7f0e50e7 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 9892454a3d0fc4a741719701f749b8c1e4d47939 X-Git-Newrev: f83141b2c816b09a2dd44ea5a84d868b7f0e50e7 Message-Id: <20231030150937.00E193857722@sourceware.org> Date: Mon, 30 Oct 2023 15:09:36 +0000 (GMT) From: Jonathan Wakely List-Id: 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 f83141b2c816b09a2dd44ea5a84d868b7f0e50e7 (commit) from 9892454a3d0fc4a741719701f749b8c1e4d47939 (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 f83141b2c816b09a2dd44ea5a84d868b7f0e50e7 Author: Jonathan Wakely Date: Mon Oct 30 14:43:17 2023 +0000 Add "Porting to GCC 14" diff --git a/htdocs/gcc-14/porting_to.html b/htdocs/gcc-14/porting_to.html new file mode 100644 index 00000000..dea9ac80 --- /dev/null +++ b/htdocs/gcc-14/porting_to.html @@ -0,0 +1,50 @@ + + + + + +Porting to GCC 14 + + + + +

Porting to GCC 14

+ +

+The GCC 14 release series differs from previous GCC releases in +a number of ways. 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. +

+ +

+Some of these changes are user visible and can cause grief when +porting to GCC 14. This document is an effort to identify common issues +and provide solutions. Let us know if you have suggestions for improvements! +

+ +

C++ language issues

+ +

Header dependency changes

+

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. +

+

+The following headers are used less widely in libstdc++ and may need to +be included explicitly when compiling with GCC 14: +

+
    +
  • <algorithm> + (for std::copy_n, std::lower_bound, + std::remove, std::reverse, + std::sort etc.) +
  • +
+ + + + + ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-14/porting_to.html | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 htdocs/gcc-14/porting_to.html hooks/post-receive -- gcc-wwwdocs