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
The specialization of array<_Tp, 0> is missing constexpr on its methods.
In the <array> header array has
<array>
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX14 value_type* data() _NOEXCEPT {return __elems_;}
it has _LIBCPP_CONSTEXPR_AFTER_CXX14
But in specialization array<_Tp, 0>
_LIBCPP_INLINE_VISIBILITY value_type* data() _NOEXCEPT {return reinterpret_cast<value_type*>(__elems_);}
it does not have it.
Upstream libc++ https://reviews.llvm.org/D80821 fixed it as early as in clang 11. Maybe NDK has not updated the array header?
r25
No response
Linux, Mac, Windows
macOS 13
armeabi-v7a, arm64-v8a, x86, x86_64
CMake
21
The text was updated successfully, but these errors were encountered:
This is a duplicate of #1530 as libcxx hasn't been updated yet.
Duplicate of #1530
Description
The specialization of array<_Tp, 0> is missing constexpr on its methods.
In the
<array>
header array hasit has _LIBCPP_CONSTEXPR_AFTER_CXX14
But in specialization array<_Tp, 0>
it does not have it.
Upstream libc++ https://reviews.llvm.org/D80821 fixed it as early as in clang 11. Maybe NDK has not updated the array header?
Affected versions
r25
Canary version
No response
Host OS
Linux, Mac, Windows
Host OS version
macOS 13
Affected ABIs
armeabi-v7a, arm64-v8a, x86, x86_64
Build system
CMake
Other build system
No response
minSdkVersion
21
Device API level
No response
The text was updated successfully, but these errors were encountered: