On 13/02/17 21:40 +0800, Tim Song wrote:
On Tue, Jan 31, 2017 at 1:54 AM, Jonathan Wakely <jwak...@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>