当我试图模拟Circle时,它给出了一个错误:"Error C2027 use of undefined type 'testing::internal::Function‘“ class foo: publicIUnknownvirtual HRESULT STDMETHODCALLTYPE Circle(int x, int y) = 0;.....
}; 为了模拟这一点,我尝试了如下内容
考虑到这个片段这段代码用GMock 1.7.0编译很好,但是当我更新到GMock 1.8.0时,它会抛出一个错误
../gmock/fused-src/gtest/include/gtest/gtest-printers.h:467:6: error: reinterpret_cast from type 'volatile这实际上是Gmock中缺少的功能吗?