Fix undefined references in libstdc++fs.a
authorJonathan Wakely <jwakely@redhat.com>
Wed, 28 Nov 2018 17:07:22 +0000 (17:07 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 28 Nov 2018 17:07:22 +0000 (17:07 +0000)
commit345d2d034989be69e97c45e7fcea8fe4c2409a6f
tree9a8cb688217e70f6787661b740784a7439c46684
parent0a1369fa9598019354484651f1a16dd8cf7d70c9
Fix undefined references in libstdc++fs.a

The recent patch for PR 83306 removed the fs_err_concat functions that
were used by the experimental::filesystem::filesystem_error class as
well. This fixes it by doing the string generation directly in
filesystem_error::_M_gen_what() instead of using the removed function.

PR libstdc++/83306
* src/filesystem/path.cc (filesystem_error::_M_gen_what()): Create
string directly, instead of calling fs_err_concat.

From-SVN: r266569
libstdc++-v3/ChangeLog
libstdc++-v3/src/filesystem/path.cc