On 23/04/19 14:05 -0700, Thomas Rodgers wrote:
Jonathan Wakely writes:
On 23/04/19 09:54 -0700, Thomas Rodgers wrote:
* doc/xml/manual/using.xml: Add PSTL linker flags to table 3.1.
OK - thanks.
Committed to trunk
I've also committed this update for the C++17 status docs.
commit 7b79761df0445c3adc8de1d19e05585a1f11e29c
Author: Jonathan Wakely <jwak...@redhat.com>
Date: Wed Apr 24 23:16:16 2019 +0100
Update C++17 library status tables
* doc/xml/manual/status_cxx2017.xml: Document P0024R2 status.
* doc/html/*: Regenerate.
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
index bb82e34bba7..73403ef6ba0 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
@@ -633,17 +633,18 @@ Feature-testing recommendations for C++</link>.
</row>
<row>
- <?dbhtml bgcolor="#C8B0B0" ?>
+ <?dbhtml bgcolor="#B0B0B0" ?>
<entry> The Parallelism TS Should be Standardized </entry>
<entry>
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0024r2.html">
P0024R2
</link>
</entry>
- <entry align="center"> No </entry>
+ <entry align="center"> 9.1 </entry>
<entry><code> __has_include(<execution>) </code>,
<code> __cpp_lib_execution >= 201603 </code>,
<code> __cpp_lib_parallel_algorithm >= 201603 </code>
+ (requires linking with <code>-ltbb</code>, see Note 3)
</entry>
</row>
@@ -689,7 +690,7 @@ Feature-testing recommendations for C++</link>.
</entry>
<entry align="center"> 7.1 </entry>
<entry><code> __cpp_lib_math_special_functions >= 201603 </code>
- (see Note 3)
+ (see Note 4)
</entry>
</row>
@@ -841,7 +842,13 @@ Note 2: This feature is supported in older releases but the
</para>
<para>
-Note 3: The mathematical special functions are enabled in C++17 mode from
+Note 3: The Parallel Algorithms have an external dependency on Intel TBB 2018
+or later. If the <filename class="headerfile"><execution></filename>
+header is included then <code>-ltbb</code> must be used to link to TBB.
+</para>
+
+<para>
+Note 4: The mathematical special functions are enabled in C++17 mode from
GCC 7.1 onwards. For GCC 6.x or for C++11/C++14 define
<code>__STDCPP_WANT_MATH_SPEC_FUNCS__</code> to a non-zero value
and test for <code>__STDCPP_MATH_SPEC_FUNCS__ >= 201003L</code>.