Public bug reported: thin-provisioning-tools has errors like this when built with g++-11
/usr/src/googletest/googlemock/include/gmock/gmock-function-mocker.h:450:60: error: template argument 1 is invalid 450 | args_num, ::testing::internal::identity_t<__VA_ARGS__>); \ | ^ /usr/src/googletest/googlemock/include/gmock/gmock-function-mocker.h:120:24: note: in definition of macro ‘GMOCK_INTERNAL_ASSERT_VALID_SIGNATURE’ 120 | std::is_function<__VA_ARGS__>::value, \ | ^~~~~~~~~~~ /usr/src/googletest/googlemock/include/gmock/gmock-function-mocker.h:296:30: note: in expansion of macro ‘GMOCK_INTERNAL_MOCK_METHODN’ 296 | #define MOCK_METHOD0(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 0, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unit-tests/copier_t.cc:42:17: note: in expansion of macro ‘MOCK_METHOD0’ 42 | MOCK_METHOD0(wait, optional<wait_result>()); | ^~~~~~~~~~~~ ** Affects: thin-provisioning-tools (Ubuntu) Importance: Undecided Status: New ** Tags: ftbfs update-excuse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1950028 Title: FTBFS against g++ 11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thin-provisioning-tools/+bug/1950028/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs