public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] Add missing C++11 and C++14 headers to bits/stdc++.h
@ 2015-06-12 13:02 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2015-06-12 13:02 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

<codecvt> and <shared_mutex> were not included in the precompiled
headers.

Tested powerpc64le-linux, committed to trunk.

[-- Attachment #2: patch.txt --]
[-- Type: text/x-patch, Size: 746 bytes --]

commit 66c9926b63b5dd333f310fa621d5c495deb77681
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Jun 12 12:42:41 2015 +0100

    	* include/precompiled/stdc++.h: Include <codecvt> and <shared_mutex>.

diff --git a/libstdc++-v3/include/precompiled/stdc++.h b/libstdc++-v3/include/precompiled/stdc++.h
index 8449ec0..693391a 100644
--- a/libstdc++-v3/include/precompiled/stdc++.h
+++ b/libstdc++-v3/include/precompiled/stdc++.h
@@ -98,6 +98,7 @@
 #include <array>
 #include <atomic>
 #include <chrono>
+#include <codecvt>
 #include <condition_variable>
 #include <forward_list>
 #include <future>
@@ -115,3 +116,7 @@
 #include <unordered_map>
 #include <unordered_set>
 #endif
+
+#if __cplusplus >= 201402L
+#include <shared_mutex>
+#endif

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-12 12:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-12 13:02 [patch] Add missing C++11 and C++14 headers to bits/stdc++.h Jonathan Wakely

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).