google-cloud-cpp
google-cloud-cpp copied to clipboard
WinSvc.h macro mangling methods named CreateService
Because of the unfortunate preprocessor definition in WinSvc.h,
#ifdef UNICODE
#define CreateService CreateServiceW
#else
#define CreateService CreateServiceA
#endif // !UNICODE
services that define an rpc named "CreateService" get mangled when building on windows.
This is both a problem for us as well as grpc.
related: https://github.com/grpc/grpc/issues/33501
Blocked on gRPC doing something or C++20 modules.
Still blocked on gRPC