From: Jonathan Wakely <jwakely@redhat.com>
To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: [PATCH] libstdc++: Install precompiled <bits/expc++.h> header
Date: Thu, 10 Sep 2020 19:03:46 +0100 [thread overview]
Message-ID: <20200910180346.GA84691@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 582 bytes --]
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?
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 2883 bytes --]
commit 6a7a99d4c0ef7c4eee706791cb5f3fc67439b6a6
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Sep 10 19:00:57 2020
libstdc++: Install precompiled <bits/expc++.h> 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 <bits/extc++.h>
+#include <bits/stdc++.h>
+
+#if __cplusplus >= 201103L
+#include <experimental/filesystem>
#endif
-#if __cplusplus > 201103L
+#if __cplusplus >= 201402L
#include <experimental/algorithm>
#include <experimental/any>
+#include <experimental/array>
#include <experimental/chrono>
#include <experimental/deque>
#include <experimental/filesystem>
@@ -42,10 +45,15 @@
#include <experimental/list>
#include <experimental/map>
#include <experimental/memory>
+#include <experimental/memory_resource>
#include <experimental/numeric>
#include <experimental/optional>
+#include <experimental/propagate_const>
+#include <experimental/random>
#include <experimental/ratio>
+#include <experimental/regex>
#include <experimental/set>
+#include <experimental/source_location>
#include <experimental/string>
#include <experimental/string_view>
#include <experimental/system_error>
@@ -53,5 +61,6 @@
#include <experimental/type_traits>
#include <experimental/unordered_map>
#include <experimental/unordered_set>
+#include <experimental/utility>
#include <experimental/vector>
#endif
reply other threads:[~2020-09-10 18:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200910180346.GA84691@redhat.com \
--to=jwakely@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=libstdc++@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).