googleapis / googleapis/google-cloud-cpp
WinSvc.h macro mangling methods named CreateService
Ouverte
cpp: generator
external
type: cleanup
- Langage dominant
- C++
- Étoiles
- 659
- Forks
- 462
- Merge moyen
- 1 j 2 h
- PR mergées (30 j)
- 89
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.