Problem Description
The generated code has an issue with the first method in the service definition.
Compilation errors occur when building the gRPC project with Visual Studio 17 2022 (MSVC), while compilation succeeds with MinGW Makefiles.
Error Messages
error C3668: "hub::HubService::Stub::async::RegisterClient": method with override specifier 'override' does not override any base class method
error C3668: "hub::HubService::Stub::RegisterClient": method with override specifier 'override' does not override any base class method
error C2039: "RegisterClient": is not a member of "hub::HubService::Service"
error C2665: "grpc::internal::RpcMethodHandler<...>::RpcMethodHandler": no overloaded function can convert all argument types
Environment
- gRPC: 1.76.0
- Protobuf: 6.33.4
- MSVC: Visual Studio 17 2022
- vcpkg triplet: x64-windows
- gRPC: 1.71.0
- Protobuf: 5.29.3
- MSVC: Visual Studio 17 2022
- vcpkg triplet: x64-windows
The issue persists across both versions.
Problem Description
The generated code has an issue with the first method in the service definition.
Compilation errors occur when building the gRPC project with Visual Studio 17 2022 (MSVC), while compilation succeeds with MinGW Makefiles.
Error Messages
Environment
The issue persists across both versions.