-
Notifications
You must be signed in to change notification settings - Fork 32
Add missing include to util.h #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or 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
Fixes: ```bash mp/util.h:207:20: error: no template named 'function' in namespace 'std'; did you mean 'kj::Function'? 207 | using FdToArgsFn = std::function<std::vector<std::string>(int fd)>; | ^~~~~~~~~~~~~ | kj::Function ``` when compiling with libc++ & `_LIBCPP_REMOVE_TRANSITIVE_INCLUDES`.
hebasto
approved these changes
Sep 27, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 6929c40, tested on Ubuntu 23.10 by building Bitcoin Core with depends using the following patch:
--- a/depends/packages/native_libmultiprocess.mk
+++ b/depends/packages/native_libmultiprocess.mk
@@ -1,8 +1,8 @@
package=native_libmultiprocess
-$(package)_version=015e95f7ebaa47619a213a19801e7fffafc56864
-$(package)_download_path=https://github.com/chaincodelabs/libmultiprocess/archive
+$(package)_version=6929c40913ce2bbee58754f2984ddd7ec97b44ea
+$(package)_download_path=https://github.com/fanquake/libmultiprocess/archive
$(package)_file_name=$($(package)_version).tar.gz
-$(package)_sha256_hash=4b1266b121337f3f6f37e1863fba91c1a5ee9ad126bcffc6fe6b9ca47ad050a1
+$(package)_sha256_hash=e0aab3166ca902e7b255b4e1766c71c5e99170534ae412136e4133d4f85745d7
$(package)_dependencies=native_capnp
define $(package)_config_cmds
and the following command:
$ make -C depends CC="clang" CXX="clang++ -stdlib=libc++" CPPFLAGS="-D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES" MULTIPROCESS=1 libmultiprocess
Code review ACK 6929c40, thanks for the fix |
Sjors
added a commit
to Sjors/bitcoin
that referenced
this pull request
Oct 1, 2024
This update brings in the following changes: bitcoin-core/libmultiprocess#111: doc: Add internal design section bitcoin-core/libmultiprocess#113 Add missing include to util.h
Sjors
added a commit
to Sjors/bitcoin
that referenced
this pull request
Oct 4, 2024
This update brings in the following changes: bitcoin-core/libmultiprocess#111: doc: Add internal design section bitcoin-core/libmultiprocess#113 Add missing include to util.h
Sjors
added a commit
to Sjors/bitcoin
that referenced
this pull request
Oct 4, 2024
This update brings in the following changes: bitcoin-core/libmultiprocess#111: doc: Add internal design section bitcoin-core/libmultiprocess#113 Add missing include to util.h
Sjors
added a commit
to Sjors/bitcoin
that referenced
this pull request
Oct 5, 2024
This update brings in the following changes: bitcoin-core/libmultiprocess#111: doc: Add internal design section bitcoin-core/libmultiprocess#113 Add missing include to util.h
Sjors
added a commit
to Sjors/bitcoin
that referenced
this pull request
Oct 7, 2024
This update brings in the following changes: bitcoin-core/libmultiprocess#111: doc: Add internal design section bitcoin-core/libmultiprocess#113 Add missing include to util.h
ryanofsky
added a commit
to ryanofsky/bitcoin
that referenced
this pull request
Oct 8, 2024
Add recent changes and fixes for shutdown bugs: bitcoin-core/libmultiprocess#111: doc: Add internal design section bitcoin-core/libmultiprocess#113: Add missing include to util.h bitcoin-core/libmultiprocess#116: shutdown bugfix: destroy RPC system before running cleanup callbacks bitcoin-core/libmultiprocess#118: shutdown bugfix: Prevent segfault in server if connection is broken during long function call
ryanofsky
added a commit
to ryanofsky/bitcoin
that referenced
this pull request
Oct 8, 2024
Add recent changes and fixes for shutdown bugs: bitcoin-core/libmultiprocess#111: doc: Add internal design section bitcoin-core/libmultiprocess#113: Add missing include to util.h bitcoin-core/libmultiprocess#116: shutdown bugfix: destroy RPC system before running cleanup callbacks bitcoin-core/libmultiprocess#118: shutdown bugfix: Prevent segfault in server if connection is broken during long function call
ryanofsky
added a commit
to ryanofsky/bitcoin
that referenced
this pull request
Oct 16, 2024
Add recent changes and fixes for shutdown bugs. bitcoin-core/libmultiprocess#111: doc: Add internal design section bitcoin-core/libmultiprocess#113: Add missing include to util.h bitcoin-core/libmultiprocess#116: shutdown bugfix: destroy RPC system before running cleanup callbacks bitcoin-core/libmultiprocess#118: shutdown bugfix: Prevent segfault in server if connection is broken during long function call bitcoin-core/libmultiprocess#119: cmake: avoid libatomic not found error on debian
fanquake
added a commit
to bitcoin/bitcoin
that referenced
this pull request
Oct 21, 2024
90b4055 Update libmultiprocess library (Ryan Ofsky) Pull request description: Add recent changes and fixes for shutdown bugs. bitcoin-core/libmultiprocess#111: doc: Add internal design section bitcoin-core/libmultiprocess#113: Add missing include to util.h bitcoin-core/libmultiprocess#116: shutdown bugfix: destroy RPC system before running cleanup callbacks bitcoin-core/libmultiprocess#118: shutdown bugfix: Prevent segfault in server if connection is broken during long function call bitcoin-core/libmultiprocess#119: cmake: avoid libatomic not found error on debian ACKs for top commit: fanquake: ACK 90b4055 TheCharlatan: ACK 90b4055 Tree-SHA512: 2c256667f0c16e00bb5a81b2c6d3db103fae211844e32b111bbed673ab2612ad1478e6b3ecd3a867a4e425cfa6e778b67388343626597a8fac800a15cea5e53a
janus
pushed a commit
to BitgesellOfficial/bitgesell
that referenced
this pull request
Jan 19, 2025
Add recent changes and fixes for shutdown bugs. bitcoin-core/libmultiprocess#111: doc: Add internal design section bitcoin-core/libmultiprocess#113: Add missing include to util.h bitcoin-core/libmultiprocess#116: shutdown bugfix: destroy RPC system before running cleanup callbacks bitcoin-core/libmultiprocess#118: shutdown bugfix: Prevent segfault in server if connection is broken during long function call bitcoin-core/libmultiprocess#119: cmake: avoid libatomic not found error on debian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes:
when compiling with libc++ &
_LIBCPP_REMOVE_TRANSITIVE_INCLUDES
.