fix: std::memory_order::memory_order_relaxed -> std::memory_order_relaxed#28
fix: std::memory_order::memory_order_relaxed -> std::memory_order_relaxed#28nodech merged 1 commit intobcoin-org:masterfrom chenrui333:cpp20
std::memory_order::memory_order_relaxed -> std::memory_order_relaxed#28Conversation
…relaxed` Signed-off-by: Rui Chen <rui@chenrui.dev>
|
Yeah, I saw this issue on nodejs v23 (that's when std version bump happens) and decided to not update until nodejs v24. I guess brew targets the v23 nodejs ? Reason was to fully upgrade leveldb instead of patching this one for the next major version. But I think it makes sense to fix this. Thanks for the PR! Do you want me to release hsd v7.0.1 ? I will release bdb patch right away. |
yes, we are targeting the latest node, which is nodejs23 at this point
that would be great, thanks!! |
|
thanks for bsd new release, works fine for my hsd 7.0.0 release build now. |
seeing build failure as below while building hsd 7.0.0
This is due to
std::memory_order::memory_order_relaxedis removed since C++ 20: https://en.cppreference.com/w/cpp/atomic/memory_order.upstream has already patched as google/leveldb#965
relates to Homebrew/homebrew-core#200615
cc @nodech