From patchwork Tue Jul 5 16:43:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 55755 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 36BA93857BA8 for ; Tue, 5 Jul 2022 16:43:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 36BA93857BA8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1657039436; bh=cXb4gQ1YcANe0ExNtl0eEffRJtvb/QIAm/XRrx+YWSY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Iy/OW74SsOsF6P5t31n57b2y3FmbSRIyGVCswPQROhYW5ck+BtThzRVUu7S+hijPW DPuP7yw9s7XBB8TYCgj2dqfvKGukqukcN35AN0CUOGzGM5CnXpoK5818jtbAVkqqCf 65SK4ILzKoOolpde4JvTNKNiY7Mjcnbl8BxLcFQE= 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 A966F3858C2F for ; Tue, 5 Jul 2022 16:43:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A966F3858C2F 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-596-rW1BHXzgOaiEymYo79FD6A-1; Tue, 05 Jul 2022 12:43:19 -0400 X-MC-Unique: rW1BHXzgOaiEymYo79FD6A-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 27B361019C88 for ; Tue, 5 Jul 2022 16:43:19 +0000 (UTC) Received: from localhost (unknown [10.33.36.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id E56AD400E57D for ; Tue, 5 Jul 2022 16:43:18 +0000 (UTC) To: gcc-patches@gcc.gnu.org Subject: [committed][wwwdocs] Add notes about and header dependencies Date: Tue, 5 Jul 2022 17:43:18 +0100 Message-Id: <20220705164318.665905-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.3 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, 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" I backported a change to the header which meant it no longer includes , which broke some (incorrect) packages. This updates the GCC 12 docs to mention it. Pushed to wwwdocs. -- >8 -- Also fix missing closing tag for

. --- htdocs/gcc-12/porting_to.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/htdocs/gcc-12/porting_to.html b/htdocs/gcc-12/porting_to.html index 079bda30..3badb0cc 100644 --- a/htdocs/gcc-12/porting_to.html +++ b/htdocs/gcc-12/porting_to.html @@ -82,6 +82,12 @@ be included explicitly when compiled with GCC 12:

  • <atomic> (for std::atomic)
  • +
  • <ctime> + (for std::time, std::mktime etc.) +
  • +
  • <pthread.h> + (for pthread_create, pthread_mutex_t etc.) +
  • C++ Standard Library deprecations

    @@ -109,6 +115,8 @@ GCC 12 now uses OPERATION as the name of the function to the CO_REDUCE intrinsic for the pairwise reduction, thus conforming to the Fortran 2018 standard. Previous versions used OPERATOR, which conformed to TS 18508. +

    +