googleapis / googleapis/google-cloud-cpp
WinSvc.h macro mangling methods named CreateService
Abierto
cpp: generator
external
type: cleanup
- Lenguaje dominante
- C++
- Estrellas
- 659
- Forks
- 462
- Merge medio
- 1 d 2 h
- PR fusionados (30 d)
- 89
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.