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 [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 869633858D33 for ; Mon, 16 Jan 2023 10:50:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 869633858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673866204; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Z67IoGxcMKErbQliVXHQVdka84lsI3NtdRDcoiMu1JU=; b=YKHALtxZxgb0pAXiNbCqgfWMPA8Q5wVhKFKg3vdhiN+w7l2ALPFKzQHwsFrrtulHoE1VIM 9aH5tB6NBl+KayDeGhSiy1yZf02hKW4F/6q4Qbgo7G0uRWvL8fcI4bgoo4mNGNSRO8Kvgt 9GBDIMZndoTe3vB8zJFC5wNZWgpAkw4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-306-qiv9_XIXNP61yU5vOXa5Zg-1; Mon, 16 Jan 2023 05:50:02 -0500 X-MC-Unique: qiv9_XIXNP61yU5vOXa5Zg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 66274857A85; Mon, 16 Jan 2023 10:50:02 +0000 (UTC) Received: from localhost (unknown [10.33.36.181]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2CC741121314; Mon, 16 Jan 2023 10:50:02 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [wwwdocs] Document new libstdc++ header dependency changes Date: Mon, 16 Jan 2023 10:50:01 +0000 Message-Id: <20230116105001.13048-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.8 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_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Pushed to wwwdocs. -- >8 -- --- htdocs/gcc-13/porting_to.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/htdocs/gcc-13/porting_to.html b/htdocs/gcc-13/porting_to.html index 7a67c0b0..9a9a3147 100644 --- a/htdocs/gcc-13/porting_to.html +++ b/htdocs/gcc-13/porting_to.html @@ -34,12 +34,26 @@ 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: +be included explicitly when compiling with GCC 13:

    +
  • <string> + (for std::string, std::to_string, + std::stoi etc.) +
  • +
  • <system_error> + (for std::error_code, std::error_category, + std::system_error). +
  • <cstdint> (for std::int8_t, std::int32_t etc.)
  • +
  • <cstdio> + (for std::printf, std::fopen etc.) +
  • +
  • <cstdlib> + (for std::strtol, std::malloc etc.) +

Implicit move rules change

-- 2.39.0