googleapis / googleapis/google-cloud-cpp

WinSvc.h macro mangling methods named CreateService

オープン
#11,893 コメント 3 件 リアクション 0 件 担当者 1 名 @scotthart が担当を希望しています GitHub で見る
cpp: generator external type: cleanup
主要言語
C++
スター
659
フォーク
462
平均マージ
1日 2時間
マージ済み PR(30日)
89

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。