Complie errror
ZhangChaoming opened this issue · comments
zhang chaoming commented
// cluster_service.h
class ClusterServiceImpl : public ClusterService {
public:
void DescCluster(google::protobuf::RpcController* controller, const ::DescClusterRequest* request,
::DescClusterResponse* response, ::google::protobuf::Closure* done) override;
};
- libprotoc 3.21.12
I use git submodule + cmake to build my project , but i met this:
service.pb.h:1546:16: error: no matching function for call to ‘google::protobuf::internal::ArenaStringPtr::Set(int, google::protobuf::Arena*)’
1546 | impl.ip_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());