Describe the bug
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/string:4085:1: note: candidate template ignored: could not match 'basic_string' against 'array'
In file included from /Users/trancuong/Sotatek/TEST/Oxen/oxen-core/src/ringct/rctOps.cpp:35:
In file included from /Users/trancuong/Sotatek/TEST/Oxen/oxen-core/src/cryptonote_basic/cryptonote_format_utils.h:41:
/Users/trancuong/Sotatek/TEST/Oxen/oxen-core/src/l2_tracker/events.h:53:10: error: return type of defaulted 'operator<=>' cannot be deduced because three-way comparison for member 'address' has a deduced return type and is not yet defined
auto operator<=>(const ContributorV2& o) const = default;
^
/Users/trancuong/Sotatek/TEST/Oxen/oxen-core/src/l2_tracker/events.h:49:18: note: member 'address' declared here
eth::address address;
^
/Users/trancuong/Sotatek/TEST/Oxen/oxen-core/src/crypto/base.h:53:6: note: selected 'operator<=>' for member 'address' declared here
auto operator<=>(const T& left, const T& right) {
^
In file included from /Users/trancuong/Sotatek/TEST/Oxen/oxen-core/src/ringct/rctOps.cpp:35:
In file included from /Users/trancuong/Sotatek/TEST/Oxen/oxen-core/src/cryptonote_basic/cryptonote_format_utils.h:41:
/Users/trancuong/Sotatek/TEST/Oxen/oxen-core/src/l2_tracker/events.h:53:10: warning: explicitly defaulted three-way comparison operator is implicitly deleted [-Wdefaulted-function-deleted]
auto operator<=>(const ContributorV2& o) const = default;
^
/Users/trancuong/Sotatek/TEST/Oxen/oxen-core/src/l2_tracker/events.h:49:18: note: defaulted 'operator<=>' is implicitly deleted because there is no viable three-way comparison function for member 'address'
eth::address address;
^
/Users/trancuong/Sotatek/TEST/Oxen/oxen-core/src/crypto/base.h:53:6: note: candidate template ignored: substitution failure [with T = eth::address]
auto operator<=>(const T& left, const T& right) {
^
/Users/trancuong/Sotatek/TEST/Oxen/oxen-core/src/l2_tracker/events.h:53:54: note: replace 'default' with 'delete'
auto operator<=>(const ContributorV2& o) const = default;
^~~~~~~
delete
1 warning and 2 errors generated.
make[2]: *** [src/ringct/CMakeFiles/ringct_basic.dir/rctOps.cpp.o] Error 1
make[1]: *** [src/ringct/CMakeFiles/ringct_basic.dir/all] Error 2
make: *** [all] Error 2
To Reproduce
- git clone --recurse-submodules https://github.com/oxen-io/oxen-core.git
cd oxen-core
- brew install cmake pkg-config openssl zeromq
- mkdir build && cd build
- cmake ..
- make -j$(nproc)
Expected behaviour
Build success
Screenshots or Logs
Additional Information (please complete the following information):
- Operating System: MacOS 15.0, Macbook M1 Pro 14 inch
- Local
- commit hash: 70b3fbe
Describe the bug
To Reproduce
cd oxen-core
Expected behaviour
Build success
Screenshots or Logs
Additional Information (please complete the following information):