Fix undefined references in libstdc++fs.a
commit0be5a3ebe35e34cbbdf72f8a058db81fad649f46
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Nov 2018 17:07:22 +0000 (28 17:07 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Nov 2018 17:07:22 +0000 (28 17:07 +0000)
tree9a8cb688217e70f6787661b740784a7439c46684
parent3714571df6599740929ed61b5908b2527de0c872
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266569 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/src/filesystem/path.cc