Test, enable C++20 #1694
Draft
Test, enable C++20 #1694
This check has been archived and is scheduled for deletion.
Learn more about checks retention
Cirrus CI / freebsd amd64
failed
Oct 10, 2023 in 4m 8s
Task Summary
Instruction build failed in 00:26
Details
✅ 00:12 clone
✅ 03:03 install
✅ 00:19 clone_submodules
✅ 00:03 configure
❌ 00:26 build
/usr/include/c++/v1/string:2282:46: error: no member named 'max' in namespace 'std::__1'
__recommend(_VSTD::max(__old_cap + __delta_cap, 2 * __old_cap)) :
~~~~~~~^
/usr/include/c++/v1/string:2314:46: error: no member named 'max' in namespace 'std::__1'
__recommend(_VSTD::max(__old_cap + __delta_cap, 2 * __old_cap)) :
~~~~~~~^
/usr/include/c++/v1/string:3340:42: error: no member named 'max' in namespace 'std::__1'
size_type __target_capacity = _VSTD::max(__requested_capacity, size());
~~~~~~~^
In file included from /tmp/cirrus-ci-build/src/celcompat/charconv_impl.cpp:12:
In file included from /usr/include/c++/v1/algorithm:691:
In file included from /usr/include/c++/v1/__algorithm/inplace_merge.h:17:
/usr/include/c++/v1/__algorithm/move.h:60:16: error: reference to unresolved using declaration
_VSTD::memmove(__result, __first, __n * sizeof(_Up));
^
/usr/include/c++/v1/cstring:70:1: note: using declaration annotated with 'using_if_exists' here
using ::memmove _LIBCPP_USING_IF_EXISTS;
^
In file included from /tmp/cirrus-ci-build/src/celcompat/charconv_impl.cpp:12:
In file included from /usr/include/c++/v1/algorithm:691:
In file included from /usr/include/c++/v1/__algorithm/inplace_merge.h:18:
In file included from /usr/include/c++/v1/__algorithm/rotate.h:13:
/usr/include/c++/v1/__algorithm/move_backward.h:59:16: error: reference to unresolved using declaration
_VSTD::memmove(__result, __first, __n * sizeof(_Up));
^
/usr/include/c++/v1/cstring:70:1: note: using declaration annotated with 'using_if_exists' here
using ::memmove _LIBCPP_USING_IF_EXISTS;
^
In file included from /tmp/cirrus-ci-build/src/celcompat/charconv_impl.cpp:21:
In file included from /tmp/cirrus-ci-build/src/celcompat/charconv_impl.h:15:
/usr/include/c++/v1/charconv:489:20: error: reference to unresolved using declaration
_VSTD::memcpy(&__value, &__x, sizeof(__x));
^
/usr/include/c++/v1/cstring:69:1: note: using declaration annotated with 'using_if_exists' here
using ::memcpy _LIBCPP_USING_IF_EXISTS;
^
/tmp/cirrus-ci-build/src/celcompat/charconv_impl.cpp:60:14: error: reference to unresolved using declaration
std::memcpy(buffer, ptr, length);
^
/usr/include/c++/v1/cstring:69:1: note: using declaration annotated with 'using_if_exists' here
using ::memcpy _LIBCPP_USING_IF_EXISTS;
^
/tmp/cirrus-ci-build/src/celcompat/charconv_impl.cpp:60:9: error: excess elements in scalar initializer
std::memcpy(buffer, ptr, length);
^ ~~~~~~~~~~~~~
/tmp/cirrus-ci-build/src/celcompat/charconv_impl.cpp:66:14: error: reference to unresolved using declaration
std::memcpy(buffer, ptr, nan_length);
^
/usr/include/c++/v1/cstring:69:1: note: using declaration annotated with 'using_if_exists' here
using ::memcpy _LIBCPP_USING_IF_EXISTS;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[2232/2438] Building CXX object src/cel3ds/CMakeFiles/cel3ds.dir/3dsmodel.cpp.o
[2233/2438] Building CXX object src/cel3ds/CMakeFiles/cel3ds.dir/3dsread.cpp.o
ninja: build stopped: subcommand failed.
Loading