<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Question: Using std::filesystem on macOS prior 10.15 with statically linked libc++"
href="https://bugs.llvm.org/show_bug.cgi?id=43824">43824</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Question: Using std::filesystem on macOS prior 10.15 with statically linked libc++
</td>
</tr>
<tr>
<th>Product</th>
<td>libc++
</td>
</tr>
<tr>
<th>Version</th>
<td>9.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ki.stfu@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>My program linked statically with libc++.a (among with libc++abi.a), and it's
intended to run on macOS Sierra or higher. When we used Clang 6,
mmacosx-version-min was set to 10.12 and we were able to use
std::experimental::filesystem. Now we decided to upgrade to Clang 9, and faced
that now mmacosx-version-min should be set to 10.15.
Questions:
1. Can std::filesystem be used on macOS(-es) prior 10.15 if linking against
libc++ statically?
2. How does mmacosx-version-min affect statically linked programs? I thought it
only need for those who rely on system's libc++.dylib and its capabilities.</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>