Document -lstdc++fs requirement for std::filesystem

* doc/xml/manual/using.xml (table.cmd_options): Document that the
	C++17 Filesystem implementation also needs -lstdc++fs.

From-SVN: r260011
This commit is contained in:
Jonathan Wakely 2018-05-07 20:17:16 +01:00 committed by Jonathan Wakely
parent 0d1f4de97d
commit b83f5981c1
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2018-05-07 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/using.xml (table.cmd_options): Document that the
C++17 Filesystem implementation also needs -lstdc++fs.
PR libstdc++/85671
* include/bits/fs_path.h (operator/): Permit copy elision.
* include/experimental/bits/fs_path.h (operator/): Likewise.

View File

@ -99,7 +99,9 @@
<entry><literal>-lstdc++fs</literal></entry>
<entry>Linking to <filename class="libraryfile">libstdc++fs</filename>
is required for use of the Filesystem library extensions in
<filename class="headerfile">&lt;experimental/filesystem&gt;</filename>.
<filename class="headerfile">&lt;experimental/filesystem&gt;</filename>
and the C++17 Filesystem library in
<filename class="headerfile">&lt;filesystem&gt;</filename>.
</entry>
</row>