https://bugs.llvm.org/show_bug.cgi?id=43824

            Bug ID: 43824
           Summary: Question: Using std::filesystem on macOS prior 10.15
                    with statically linked libc++
           Product: libc++
           Version: 9.0
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to