From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 7D10D3857C7D; Thu, 26 Nov 2020 11:52:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7D10D3857C7D To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. df8e807fa3d534472e1b2084b5fcfc761888ccbc X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 611da69f7782376d2737fe683f5db7ea7a5cdb31 X-Git-Newrev: df8e807fa3d534472e1b2084b5fcfc761888ccbc Message-Id: <20201126115230.7D10D3857C7D@sourceware.org> Date: Thu, 26 Nov 2020 11:52:30 +0000 (GMT) From: Jonathan Wakely X-BeenThere: gcc-cvs-wwwdocs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs-wwwdocs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2020 11:52:30 -0000 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 df8e807fa3d534472e1b2084b5fcfc761888ccbc (commit) from 611da69f7782376d2737fe683f5db7ea7a5cdb31 (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 df8e807fa3d534472e1b2084b5fcfc761888ccbc Author: Jonathan Wakely Date: Thu Nov 26 11:51:57 2020 +0000 Fix typo and wording of previous commit diff --git a/htdocs/gcc-11/porting_to.html b/htdocs/gcc-11/porting_to.html index 91cd0b4d..41efc3b6 100644 --- a/htdocs/gcc-11/porting_to.html +++ b/htdocs/gcc-11/porting_to.html @@ -95,19 +95,18 @@ GCC 11 now enforces that comparison objects be invocable as const.

Some C++ Standard Library headers have been changed to no longer include other headers that they do need to depend on. As such, C++ programs that used standard library components without -including the right headers will no longer compiler. +including the right headers will no longer compile.

The following headers are used less widely in libstdc++ and may need to -be included explicitly by programs that were incorrectly relying on them -being included implicitly by other headers: +be included explicitly when compiled with GCC 11:

  • <limits> - (e.g. for std::numeric_limits) + (for std::numeric_limits)
  • <memory> - (e.g. for std::unique_ptr, std::shared_ptr etc.) + (for std::unique_ptr, std::shared_ptr etc.)
  • <utility> (for std::pair, std::tuple_size, ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-11/porting_to.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) hooks/post-receive -- gcc-wwwdocs