This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [wwwdocs] Added /gcc-7/porting_to.html
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Tim Song <t dot canens dot cpp at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 13 Feb 2017 13:45:09 +0000
- Subject: Re: [wwwdocs] Added /gcc-7/porting_to.html
- Authentication-results: sourceware.org; auth=none
- References: <20170130175458.GV3093@redhat.com> <CAPQZVxuBkczPOWWO9hDJmPThL9TtAeEexUuD==mSK0B9NT8Jgw@mail.gmail.com>
On 13/02/17 21:40 +0800, Tim Song wrote:
On Tue, Jan 31, 2017 at 1:54 AM, Jonathan Wakely <jwakely@redhat.com> wrote:
after including unrelated headers such as <memory>, <futex>, <mutex>, and <regex>
<futex> or <future>?
Thanks, I think my fingers got confused by "mutex" and "regex" and
started ending everythign with -ex.
Fixed with this patch, committed to wwwdocs.
Index: htdocs/gcc-7/porting_to.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/porting_to.html,v
retrieving revision 1.7
diff -u -r1.7 porting_to.html
--- htdocs/gcc-7/porting_to.html 13 Feb 2017 10:21:30 -0000 1.7
+++ htdocs/gcc-7/porting_to.html 13 Feb 2017 13:43:06 -0000
@@ -131,7 +131,7 @@
Previously components such as <code>std::bind</code>
and <code>std::function</code> were implicitly defined after including
unrelated headers such as <code><memory></code>,
-<code><futex></code>, <code><mutex></code>, and
+<code><future></code>, <code><mutex></code>, and
<code><regex></code>.
Correct code should <code>#include <functional></code> to define them.
</p>