<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:martin@martin.st" title="Martin Storsjö <martin@martin.st>"> <span class="fn">Martin Storsjö</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - std::filesystem::path::native() should return an std::wstring on Windows"
href="https://bugs.llvm.org/show_bug.cgi?id=38419">bug 38419</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - std::filesystem::path::native() should return an std::wstring on Windows"
href="https://bugs.llvm.org/show_bug.cgi?id=38419#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - std::filesystem::path::native() should return an std::wstring on Windows"
href="https://bugs.llvm.org/show_bug.cgi?id=38419">bug 38419</a>
from <span class="vcard"><a class="email" href="mailto:martin@martin.st" title="Martin Storsjö <martin@martin.st>"> <span class="fn">Martin Storsjö</span></a>
</span></b>
<pre>This should all be fixed now, by e.g. e83e0cac041bc071301f8399bb5c32b2529fc83f
([libcxx] Make filesystem::path::value_type wchar_t on windows) and
f4f5fb915104887fefa602cfcbd1d4fc8447d46b ([libcxx] Make generic_*string return
paths with forward slashes on windows).
Also note that before, while you could observe these incorrect behaviours in
the <filesystem> header, it wasn't even possible to build libc++ with
filesystem enabled for windows, until around
cdc60a3b9aa523b49329a7a5e4c1774d3b9e3db9. Before that, you could do trivial
header-only operations, but as soon as you'd try to do something that requires
linking against the lib, it'd fail. (Also, after
933518fff82c8f39626bbcca81adc516483a9651, trying to use header-only bits of
<filesystem> will fail if the lib was built with filesystem disabled.)
Now at this point, the filesystem code can be built for windows, but it's only
enabled by default for mingw targets. In MSVC configurations, you'll still run
into a missing runtime helper for __int128, see <a href="https://reviews.llvm.org/D91139">https://reviews.llvm.org/D91139</a>
and <a href="https://reviews.llvm.org/D91413">https://reviews.llvm.org/D91413</a> for various ways of getting around that.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>