You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests fail to build: error: definition of implicit copy constructor for 'PolymorphicAction<testing::internal::ReturnVoidAction>' is deprecated because it has a user-declared copy assignment operator
#346
Closed
yurivict opened this issue
Jun 20, 2022
· 6 comments
/disk-samsung/freebsd-ports/misc/astc-encoder/work/astc-encoder-3.7/Source/GoogleTest/googlemock/include/gmock/gmock-actions.h:455:3: error: definition of implicit copy constructor for 'PolymorphicAction<testing::internal::ReturnVoidAction>' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
GTEST_DISALLOW_ASSIGN_(PolymorphicAction);
^
/disk-samsung/freebsd-ports/misc/astc-encoder/work/astc-encoder-3.7/Source/GoogleTest/googletest/include/gtest/internal/gtest-port.h:682:8: note: expanded from macro 'GTEST_DISALLOW_ASSIGN_'
void operator=(type const &) = delete
^
Not sure why you need to rebuild gtest when ready to use package exists.
Version: 3.7
clang-13
FreeBSD 13.1
The text was updated successfully, but these errors were encountered:
Testing with the newer versions of Clang, and while the Googletest issue is solved there are still quite a lot of warnings flagged by clang-13. Will put up a separate PR to fix this.
Not sure why you need to rebuild gtest when ready to use package exists.
Version: 3.7
clang-13
FreeBSD 13.1
The text was updated successfully, but these errors were encountered: