-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin/bitcoin#28622: build: use macOS 14 SDK (Xcode 15.0)
8ea45e6 build: use macOS 14 SDK (Xcode 15.0) (fanquake) 51c97ff build: patch boost process for macOS 14 SDK (fanquake) 423949a depends: add -platform_version to macOS build flags (fanquake) Pull request description: This fixes: bitcoin/bitcoin#28349 (comment) (cross-compiling with C++20 for macOS). See https://developer.apple.com/xcode/cpp/#c++20 for C++20 support in Apples libc++, some features landed with Xcode 14.3, although many more landed with Xcode 15.0. ACKs for top commit: hebasto: ACK 8ea45e6. TheCharlatan: ACK 8ea45e6 Tree-SHA512: 274ce2c9b9f8e4d755c07b8d0d4897a7f92708ac64e6afb7a3f75bdb485e863fc7f40badf3a88b129ce36f6cca72f768dc2ed7fba2bdf0bb6da2bf0c8fedee10
- Loading branch information
Showing
7 changed files
with
58 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Fix Boost Process compilation with macOS 14 SDK. | ||
Can be dropped with Boost 1.84.0. | ||
https://github.com/boostorg/process/pull/343. | ||
https://github.com/boostorg/process/issues/342. | ||
|
||
diff --git a/boost/process/detail/posix/handles.hpp b/boost/process/detail/posix/handles.hpp | ||
index cd9e1ce5a..304e77b1c 100644 | ||
--- a/boost/process/detail/posix/handles.hpp | ||
+++ b/boost/process/detail/posix/handles.hpp | ||
@@ -33,7 +33,7 @@ inline std::vector<native_handle_type> get_handles(std::error_code & ec) | ||
else | ||
ec.clear(); | ||
|
||
- auto my_fd = ::dirfd(dir.get()); | ||
+ auto my_fd = dirfd(dir.get()); | ||
|
||
struct ::dirent * ent_p; | ||
|
||
@@ -117,7 +117,7 @@ struct limit_handles_ : handler_base_ext | ||
return; | ||
} | ||
|
||
- auto my_fd = ::dirfd(dir); | ||
+ auto my_fd = dirfd(dir); | ||
struct ::dirent * ent_p; | ||
|
||
while ((ent_p = readdir(dir)) != nullptr) |