We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
boost 1.83beta
Compile the library on arm64 / windows platform.
Error message:
D:\Projects\pts\pts\include\boost\json\detail\charconv\detail\emulated128.hpp(62): error C3861: '__emulu': identifier not found
It can be fixed changing
static inline std::uint64_t umul64(std::uint32_t x, std::uint32_t y) noexcept { #if defined(BOOST_JSON_HAS_MSVC_32BIT_INTRINSICS) return __emulu(x, y); #else return x * static_cast<std::uint64_t>(y); #endif }
to
static inline std::uint64_t umul64(std::uint32_t x, std::uint32_t y) noexcept { #if defined(BOOST_JSON_HAS_MSVC_32BIT_INTRINSICS) && !defined(_M_ARM) return __emulu(x, y); #else return x * static_cast<std::uint64_t>(y); #endif }
The text was updated successfully, but these errors were encountered:
#928 doesn't really fix this problem. It should be
#if defined(BOOST_JSON_HAS_MSVC_32BIT_INTRINSICS) && !defined(_M_ARM)
not
#if defined(BOOST_JSON_HAS_MSVC_32BIT_INTRINSICS) && !defined(_M_ARM64)
Sorry, something went wrong.
That's my mistake. The PR has been updated.
Thank you.
Successfully merging a pull request may close this issue.
Version of Boost
boost 1.83beta
Steps necessary to reproduce the problem
Compile the library on arm64 / windows platform.
All relevant compiler information
Error message:
It can be fixed changing
to
The text was updated successfully, but these errors were encountered: