From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 1A05A3851C01 for ; Thu, 26 Nov 2020 11:53:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1A05A3851C01 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-593-hlqBGz_1P9W_0Zla5jkWzQ-1; Thu, 26 Nov 2020 06:53:39 -0500 X-MC-Unique: hlqBGz_1P9W_0Zla5jkWzQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4108C10513CA; Thu, 26 Nov 2020 11:53:38 +0000 (UTC) Received: from localhost (unknown [10.33.37.15]) by smtp.corp.redhat.com (Postfix) with ESMTP id CD0521001E73; Thu, 26 Nov 2020 11:53:37 +0000 (UTC) Date: Thu, 26 Nov 2020 11:53:37 +0000 From: Jonathan Wakely To: Jonathan Wakely via Libstdc++ Cc: gcc-patches@gcc.gnu.org Subject: Re: [wwwdocs] Document libstdc++ header dependency changes Message-ID: <20201126115337.GK1312820@redhat.com> References: <20201126113309.GA2103723@redhat.com> MIME-Version: 1.0 In-Reply-To: <20201126113309.GA2103723@redhat.com> X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/mixed; boundary="Thv7PGoFpDPJ7Oar" Content-Disposition: inline X-Spam-Status: No, score=-14.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2020 11:53:43 -0000 --Thv7PGoFpDPJ7Oar Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline On 26/11/20 11:33 +0000, Jonathan Wakely via Libstdc++ wrote: >Also explain how to replace dynamic exception specifications. And a small correction. Committed to wwwdocs. --Thv7PGoFpDPJ7Oar Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="patch.txt" 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, --Thv7PGoFpDPJ7Oar--