| commit | e547d1341b1fe90672c9b982c4a98f8197237bb7 | [log] [tgz] |
|---|---|---|
| author | Jonathan Wakely <jwakely@redhat.com> | Fri Oct 15 23:27:54 2021 +0100 |
| committer | Jonathan Wakely <jwakely@redhat.com> | Sat Oct 16 00:44:28 2021 +0100 |
| tree | 7869c6a3d6a8475c539fda0d242f4034f3dff048 | |
| parent | 929abc7fe3ad4491ac412ca232e055618559f268 [diff] |
libstdc++: Fix error in filesystem::path with Clang
THis fixes teh following error seen with Clang:
error: function '_S_convert<std::basic_string_view<char8_t>>' with deduced
return type cannot be used before it is defined
return string_type(_S_convert(std::u8string_view(__str)));
^
libstdc++-v3/ChangeLog:
* include/bits/fs_path.h (path::_S_convert(T)): Avoid recursive
call to function with deduced return type.