wallet-core-python icon indicating copy to clipboard operation
wallet-core-python copied to clipboard

MacOS setup.py build failing after successful build of wallet-core

Open idan-krayon opened this issue 2 years ago • 1 comments

ProductName: macOS ProductVersion: 12.4 BuildVersion: 21F79 Python version number 3.9.10 Apple clang version 13.1.6 (clang-1316.0.21.2.5) Target: arm64-apple-darwin21.5.0

I followed these steps:

  1. https://github.com/phuang/wallet-core-python#readme
  2. https://developer.trustwallet.com/wallet-core/developing-the-library/building - MacOS

The wallet-core build was successful but the 'python setup.py build' failed:


(venv) ➜ wallet-core-python git:(main) ✗ python setup.py build running build running build_ext building 'walletcore' extension clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iwallet-core/include -Isrc -I/Users/idanshperling/dev/krayon-monorepo/krayon-django/venv/include -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src/AnySigner.cc -o build/temp.macosx-10.9-universal2-3.9/src/AnySigner.o -std=c++17 In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:30:10: warning: non-portable path to file '<String.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path] #include <string.h> ^~~~~~~~~~ <String.h> In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:30: In file included from src/string.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:681: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/raw_storage_iterator.h:16: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:582: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/common_iterator.h:22: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:204: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:40:12: error: reference to unresolved using declaration _VSTD::memcpy(&__r, __p, sizeof(__r)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:69:1: note: using declaration annotated with 'using_if_exists' here using ::memcpy _LIBCPP_USING_IF_EXISTS; ^ In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:30: In file included from src/string.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:682: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:35: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:669:19: error: reference to unresolved using declaration return _VSTD::memcmp(&__lhs, &__rhs, sizeof(_Tp)) == 0; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:75:1: note: using declaration annotated with 'using_if_exists' here using ::memcmp _LIBCPP_USING_IF_EXISTS; ^ In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:30: In file included from src/string.h:19: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:740:16: error: reference to unresolved using declaration _VSTD::memcpy(__begin2, __begin1, _Np * sizeof(_Tp)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:69:1: note: using declaration annotated with 'using_if_exists' here using ::memcpy _LIBCPP_USING_IF_EXISTS; ^ In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:30: In file included from src/string.h:19: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:767:16: error: reference to unresolved using declaration _VSTD::memcpy(const_cast<_RawDest*>(__begin2), __begin1, _Np * sizeof(_Dest)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:69:1: note: using declaration annotated with 'using_if_exists' here using ::memcpy _LIBCPP_USING_IF_EXISTS; ^ In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:30: In file included from src/string.h:19: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:799:16: error: reference to unresolved using declaration _VSTD::memcpy(static_cast<void*>(__end2), static_cast<void const*>(__begin1), _Np * sizeof(_Tp)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstring:69:1: note: using declaration annotated with 'using_if_exists' here using ::memcpy _LIBCPP_USING_IF_EXISTS; ^ In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:30: In file included from src/string.h:19: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:799:9: error: excess elements in scalar initializer _VSTD::memcpy(static_cast<void*>(__end2), static_cast<void const*>(__begin1), _Np * sizeof(_Tp)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:858:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_ABI_NAMESPACE ^ In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:30: src/string.h:35:1: error: unknown type name 'PyObject' PyObject* PyUnicode_FromTWString(const TWStringPtr& str); ^ src/string.h:38:35: error: unknown type name 'PyObject' TWStringPtr PyUnicode_GetTWString(PyObject* object); ^ In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:93: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/unicodeobject.h:1026: /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/unicodeobject.h:55:5: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'? memcpy(target, source, (size_t)(length) * sizeof(Py_UNICODE)); ^~~~~~ wmemcpy /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:152:10: note: 'wmemcpy' declared here wchar_t *wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t); ^ In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:146: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/abstract.h:843: /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/abstract.h:80:5: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'? memcpy(&ptr, (char *) callable + offset, sizeof(ptr)); ^~~~~~ wmemcpy /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:152:10: note: 'wmemcpy' declared here wchar_t *wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t); ^ In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:146: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/abstract.h:843: /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/cpython/abstract.h:80:12: error: cannot initialize a parameter of type 'wchar_t *' with an rvalue of type 'vectorcallfunc *' (aka '_object *(**)(_object *, _object *const , unsigned long, _object )') memcpy(&ptr, (char ) callable + offset, sizeof(ptr)); ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:152:38: note: passing argument to parameter here wchar_t wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t); ^ In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:30: In file included from src/String.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:681: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/raw_storage_iterator.h:16: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:582: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__iterator/common_iterator.h:22: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/variant:204: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:40:5: error: excess elements in scalar initializer _VSTD::memcpy(&__r, __p, sizeof(__r)); ^ ~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:858:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_ABI_NAMESPACE ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:138:28: note: in instantiation of function template specialization 'std::__loadword' requested here const uint32_t __a = __loadword<uint32_t>(__s); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:229:14: note: in instantiation of member function 'std::__murmur2_or_cityhash<unsigned long, 64>::__hash_len_0_to_16' requested here return __hash_len_0_to_16(__s, __len); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:347:16: note: in instantiation of member function 'std::__murmur2_or_cityhash<unsigned long, 64>::operator()' requested here return __murmur2_or_cityhash<size_t>()(&__u, sizeof(__u)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:421:20: note: in instantiation of member function 'std::__scalar_hash<std::_PairT, 2>::operator()' requested here return _HashT()(__p); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:40:5: error: excess elements in scalar initializer _VSTD::memcpy(&__r, __p, sizeof(__r)); ^ ~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:858:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_ABI_NAMESPACE ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:239:15: note: in instantiation of function template specialization 'std::__loadword' requested here _Size __x = __loadword<_Size>(__s + __len - 40); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:347:16: note: in instantiation of member function 'std::__murmur2_or_cityhash<unsigned long, 64>::operator()' requested here return __murmur2_or_cityhash<size_t>()(&__u, sizeof(__u)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:421:20: note: in instantiation of member function 'std::__scalar_hash<std::_PairT, 2>::operator()' requested here return _HashT()(__p); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:185:42: error: no matching function for call to '__loadword' return __weak_hash_len_32_with_seeds(__loadword<_Size>(__s), ^~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:244:28: note: in instantiation of member function 'std::__murmur2_or_cityhash<unsigned long, 64>::__weak_hash_len_32_with_seeds' requested here pair<_Size, _Size> __v = __weak_hash_len_32_with_seeds(__s + __len - 64, __len, __z); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:347:16: note: in instantiation of member function 'std::__murmur2_or_cityhash<unsigned long, 64>::operator()' requested here return __murmur2_or_cityhash<size_t>()(&__u, sizeof(__u)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:421:20: note: in instantiation of member function 'std::__scalar_hash<std::_PairT, 2>::operator()' requested here return _HashT()(__p); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:37:1: note: candidate template ignored: substitution failure [with _Size = unsigned long] __loadword(const void __p) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:186:42: error: no matching function for call to '__loadword' __loadword<_Size>(__s + 8), ^~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:37:1: note: candidate template ignored: substitution failure [with _Size = unsigned long] __loadword(const void __p) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:187:42: error: no matching function for call to '__loadword' __loadword<_Size>(__s + 16), ^~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:37:1: note: candidate template ignored: substitution failure [with _Size = unsigned long] __loadword(const void __p) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:188:42: error: no matching function for call to '__loadword' __loadword<_Size>(__s + 24), ^~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/hash.h:37:1: note: candidate template ignored: substitution failure [with _Size = unsigned long] __loadword(const void __p) ^ In file included from src/AnySigner.cc:17: In file included from src/AnySigner.h:20: In file included from /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:30: In file included from src/String.h:19: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:682: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:35: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:669:12: error: excess elements in scalar initializer return _VSTD::memcmp(&__lhs, &__rhs, sizeof(_Tp)) == 0; ^ ~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:858:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_ABI_NAMESPACE ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:1599:17: note: in instantiation of function template specialization 'std::__cxx_nonatomic_compare_equal' requested here return !__cxx_nonatomic_compare_equal(__cxx_atomic_load(__a, __order), __val); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__thread/poll_with_backoff.h:39:11: note: in instantiation of member function 'std::__cxx_atomic_wait_test_fn_impl<const volatile std::__cxx_atomic_impl, bool>::operator()' requested here if (__f()) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:1570:12: note: in instantiation of function template specialization 'std::__libcpp_thread_poll_with_backoff<std::__cxx_atomic_wait_test_fn_impl<const volatile std::__cxx_atomic_impl, bool> &, std::__libcpp_atomic_wait_backoff_impl<const volatile std::__cxx_atomic_impl, std::__cxx_atomic_wait_test_fn_impl<const volatile std::__cxx_atomic_impl, bool>> &>' requested here return __libcpp_thread_poll_with_backoff(__test_fn, __backoff_fn); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:1608:12: note: in instantiation of function template specialization 'std::__cxx_atomic_wait<const volatile std::__cxx_atomic_impl, std::__cxx_atomic_wait_test_fn_impl<const volatile std::__cxx_atomic_impl, bool> &>' requested here return __cxx_atomic_wait(__a, __test_fn); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:2564:10: note: in instantiation of function template specialization 'std::__cxx_atomic_wait<const volatile std::__cxx_atomic_impl, bool>' requested here {__cxx_atomic_wait(&_a, _LIBCPP_ATOMIC_FLAG_TYPE(__v), __m);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:1599:17: error: no matching function for call to '__cxx_nonatomic_compare_equal' return !__cxx_nonatomic_compare_equal(__cxx_atomic_load(__a, __order), __val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__thread/poll_with_backoff.h:39:11: note: in instantiation of member function 'std::__cxx_atomic_wait_test_fn_impl<const std::__cxx_atomic_impl, bool>::operator()' requested here if (__f()) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:1570:12: note: in instantiation of function template specialization 'std::__libcpp_thread_poll_with_backoff<std::__cxx_atomic_wait_test_fn_impl<const std::__cxx_atomic_impl, bool> &, std::__libcpp_atomic_wait_backoff_impl<const std::__cxx_atomic_impl, std::__cxx_atomic_wait_test_fn_impl<const std::__cxx_atomic_impl, bool>> &>' requested here return __libcpp_thread_poll_with_backoff(__test_fn, __backoff_fn); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:1608:12: note: in instantiation of function template specialization 'std::__cxx_atomic_wait<const std::__cxx_atomic_impl, std::__cxx_atomic_wait_test_fn_impl<const std::__cxx_atomic_impl, bool> &>' requested here return __cxx_atomic_wait(__a, __test_fn); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:2567:10: note: in instantiation of function template specialization 'std::__cxx_atomic_wait<const std::__cxx_atomic_impl, bool>' requested here {__cxx_atomic_wait(&_a, _LIBCPP_ATOMIC_FLAG_TYPE(__v), __m);} ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:668:6: note: candidate template ignored: substitution failure [with _Tp = bool] bool __cxx_nonatomic_compare_equal(_Tp const& __lhs, _Tp const& __rhs) { ^ 1 warning and 19 errors generated. error: command '/usr/bin/clang' failed with exit code 1

idan-krayon avatar Jul 07 '22 09:07 idan-krayon