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 266B73861841 for ; Thu, 10 Sep 2020 18:03:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 266B73861841 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-595-AwNfANFCNzudv1Vj5NkdzQ-1; Thu, 10 Sep 2020 14:03:48 -0400 X-MC-Unique: AwNfANFCNzudv1Vj5NkdzQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CB13980EF8C; Thu, 10 Sep 2020 18:03:47 +0000 (UTC) Received: from localhost (unknown [10.33.37.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 794F319C66; Thu, 10 Sep 2020 18:03:47 +0000 (UTC) Date: Thu, 10 Sep 2020 19:03:46 +0100 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH] libstdc++: Install precompiled header Message-ID: <20200910180346.GA84691@redhat.com> MIME-Version: 1.0 X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Type: multipart/mixed; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline X-Spam-Status: No, score=-13.7 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_H5, 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: 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-List-Received-Date: Thu, 10 Sep 2020 18:03:53 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline This header was added to the source tree years ago, but doesn't actually get precompiled or installed when building the library. This change installs it alongside the other precompiled headers, and also updates it to include the Filesystem TS and all LFTS headers (but not the Networking TS ones). libstdc++-v3/ChangeLog: * include/Makefile.am (host_headers): Add precompiled/expc++.h. * include/Makefile.in: Regenerate. * include/precompiled/expc++.h: Add Filesystem TS header and missing LFTS headers. Do we want to do this, or should we just delete the header instead? --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch.txt" commit 6a7a99d4c0ef7c4eee706791cb5f3fc67439b6a6 Author: Jonathan Wakely Date: Thu Sep 10 19:00:57 2020 libstdc++: Install precompiled header This header was added to the source tree years ago, but doesn't actually get precompiled or installed when building the library. This change installs it alongside the other precompiled headers, and also updates it to include the Filesystem TS and all LFTS headers (but not the Networking TS ones). libstdc++-v3/ChangeLog: * include/Makefile.am (host_headers): Add precompiled/expc++.h. * include/Makefile.in: Regenerate. * include/precompiled/expc++.h: Add Filesystem TS header and missing LFTS headers. diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am index 1dff3862e35..768f30a7067 100644 --- a/libstdc++-v3/include/Makefile.am +++ b/libstdc++-v3/include/Makefile.am @@ -954,7 +954,8 @@ host_headers = \ ${glibcxx_srcdir}/$(ERROR_CONSTANTS_SRCDIR)/error_constants.h \ ${glibcxx_srcdir}/include/precompiled/stdc++.h \ ${glibcxx_srcdir}/include/precompiled/stdtr1c++.h \ - ${glibcxx_srcdir}/include/precompiled/extc++.h + ${glibcxx_srcdir}/include/precompiled/extc++.h \ + ${glibcxx_srcdir}/include/precompiled/expc++.h # Non-installed host_header files. COMPATIBILITY_H = config/abi/compatibility.h diff --git a/libstdc++-v3/include/precompiled/expc++.h b/libstdc++-v3/include/precompiled/expc++.h index 28b6fe9420b..3805a6f9299 100644 --- a/libstdc++-v3/include/precompiled/expc++.h +++ b/libstdc++-v3/include/precompiled/expc++.h @@ -26,13 +26,16 @@ * This is an implementation file for a precompiled header. */ -#if __cplusplus < 201103L -#include +#include + +#if __cplusplus >= 201103L +#include #endif -#if __cplusplus > 201103L +#if __cplusplus >= 201402L #include #include +#include #include #include #include @@ -42,10 +45,15 @@ #include #include #include +#include #include #include +#include +#include #include +#include #include +#include #include #include #include @@ -53,5 +61,6 @@ #include #include #include +#include #include #endif --lrZ03NoBR/3+SXJZ--