Re: git: 28f6c2f29280 - main - Import GoogleTest 1.14.0
- In reply to: Enji Cooper : "git: 28f6c2f29280 - main - Import GoogleTest 1.14.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Aug 2023 01:31:08 UTC
On Wed, 9 Aug 2023 at 22:32, Enji Cooper <ngie@freebsd.org> wrote: > > The branch main has been updated by ngie: > > URL: https://cgit.FreeBSD.org/src/commit/?id=28f6c2f292806bf31230a959bc4b19d7081669a7 > > commit 28f6c2f292806bf31230a959bc4b19d7081669a7 > Author: Enji Cooper <ngie@FreeBSD.org> > AuthorDate: 2023-08-08 06:17:32 +0000 > Commit: Enji Cooper <ngie@FreeBSD.org> > CommitDate: 2023-08-10 09:32:33 +0000 > > Import GoogleTest 1.14.0 the amd64-gcc12 job is currently broken, with: /usr/obj/tmp/cirrus-ci-build/amd64.amd64/tmp/usr/include/private/gmock/gmock-actions.h:1637:9: recursively required from 'testing::internal::DoAllAction<InitialAction, OtherActions ...>::operator testing::Action<U(Args ...)>() const [with R = int; Args = {int*, int*, char*, char*, char*, char*, char*, char*, char*}; typename std::__1::enable_if<testing::internal::conjunction<std::__1::is_convertible<const InitialAction&, testing::Action<void(typename std::__1::conditional<std::__1::is_scalar<Args>::value, Args, const Args&>::type ...)> >, std::__1::is_convertible<const testing::internal::DoAllAction<OtherActions ...>&, testing::Action<U(Args ...)> > >::value, int>::type <anonymous> = 0; InitialAction = testing::internal::SetArgumentPointeeAction<1, int, void>; OtherActions = {testing::internal::SetArgumentPointeeAction<2, char, void>, testing::internal::SetArgumentPointeeAction<3, char, void>, testing::internal::SetArgumentPointeeAction<4, char, void>, testing::internal::SetArgumentPointeeAction<5, char, void>, testing::internal::SetArgumentPointeeAction<6, char, void>, testing::internal::SetArgumentPointeeAction<7, char, void>, testing::internal::SetArgumentPointeeAction<8, char, void>, testing::internal::ReturnAction<int>}]' /usr/obj/tmp/cirrus-ci-build/amd64.amd64/tmp/usr/include/private/gmock/gmock-actions.h:1637:9: required from 'testing::internal::DoAllAction<InitialAction, OtherActions ...>::operator testing::Action<U(Args ...)>() const [with R = int; Args = {int*, int*, char*, char*, char*, char*, char*, char*, char*}; typename std::__1::enable_if<testing::internal::conjunction<std::__1::is_convertible<const InitialAction&, testing::Action<void(typename std::__1::conditional<std::__1::is_scalar<Args>::value, Args, const Args&>::type ...)> >, std::__1::is_convertible<const testing::internal::DoAllAction<OtherActions ...>&, testing::Action<U(Args ...)> > >::value, int>::type <anonymous> = 0; InitialAction = testing::internal::SetArgumentPointeeAction<0, int, void>; OtherActions = {testing::internal::SetArgumentPointeeAction<1, int, void>, testing::internal::SetArgumentPointeeAction<2, char, void>, testing::internal::SetArgumentPointeeAction<3, char, void>, testing::internal::SetArgumentPointeeAction<4, char, void>, testing::internal::SetArgumentPointeeAction<5, char, void>, testing::internal::SetArgumentPointeeAction<6, char, void>, testing::internal::SetArgumentPointeeAction<7, char, void>, testing::internal::SetArgumentPointeeAction<8, char, void>, testing::internal::ReturnAction<int>}]' /tmp/cirrus-ci-build/contrib/googletest/googlemock/test/gmock-more-actions_test.cc:939:72: required from here /usr/obj/tmp/cirrus-ci-build/amd64.amd64/tmp/usr/include/c++/v1/__functional/function.h:417:28: error: placement new constructing an object of type '_Fun' and size '112' in a region of type 'std::__1::aligned_storage<24>::type' and size '32' [-Werror=placement-new=] 417 | ::new ((void*)&__buf_) _Fun(_VSTD::move(__f), _Alloc(__af)); | ^~~~~~~~~~~~~~ /usr/obj/tmp/cirrus-ci-build/amd64.amd64/tmp/usr/include/c++/v1/__functional/function.h:386:55: note: 'std::__1::__function::__value_func<int(int*, int*, char*, char*, char*, char*, char*, char*, char*)>::__buf_' declared here 386 | typename aligned_storage<3 * sizeof(void*)>::type __buf_; | ^~~~~~ https://cirrus-ci.com/task/6420590324613120?logs=build_world#L5388