From patchwork Tue May 24 12:08:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 54341 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 355613882155 for ; Tue, 24 May 2022 12:08:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 355613882155 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1653394139; bh=X5bYfFS+amLrIUHex5AkI1A8qEnCsjUtMA0yEZ862ic=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=T65E92TTGZAP4+mTO4ukvScAldVMK+cTPt9e73uFRY+Lb0ec100aLxerHKsuJnjNN Y+rmkfJXiEqp9aAVu2PPtrWIOW3hqLLwGYXkdvkiH6EQE/c6ejhqnIONThHi9ystb6 GDpmkaMAFKiz/cJMmpAPJkHjdU8vMChs4F1HXRRE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id BF38F3857C48 for ; Tue, 24 May 2022 12:08:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BF38F3857C48 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-460-6oSICZ-lNkChT8c3wCiYQg-1; Tue, 24 May 2022 08:08:27 -0400 X-MC-Unique: 6oSICZ-lNkChT8c3wCiYQg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8B9AC299E76B for ; Tue, 24 May 2022 12:08:27 +0000 (UTC) Received: from localhost (unknown [10.33.36.185]) by smtp.corp.redhat.com (Postfix) with ESMTP id 50BC9401E3B for ; Tue, 24 May 2022 12:08:27 +0000 (UTC) Date: Tue, 24 May 2022 13:08:26 +0100 To: gcc-patches@gcc.gnu.org Subject: [wwwdocs] Document changes in libstdc++ Message-ID: MIME-Version: 1.0 X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-13.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_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jonathan Wakely via Gcc-patches From: Jonathan Wakely Reply-To: Jonathan Wakely Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Pushed to wwwdocs. commit f55f35c86c68143a2b148c66e4b0b560c852ce6f Author: Jonathan Wakely Date: Tue May 24 13:06:11 2022 +0100 Document changes in libstdc++ diff --git a/htdocs/gcc-13/porting_to.html b/htdocs/gcc-13/porting_to.html index b3e0895a..84a00f21 100644 --- a/htdocs/gcc-13/porting_to.html +++ b/htdocs/gcc-13/porting_to.html @@ -24,5 +24,23 @@ porting to GCC 13. 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 compiled with GCC 13: +

+
    +
  • <cstdint> + (for std::int8_t, std::int32_t etc.) +
  • +
+