Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ GUID and IID are not compatible with each other in Linux #176

Open
Rantanen opened this issue May 4, 2020 · 0 comments
Open

C++ GUID and IID are not compatible with each other in Linux #176

Rantanen opened this issue May 4, 2020 · 0 comments

Comments

@Rantanen
Copy link
Owner

Rantanen commented May 4, 2020

In Windows these are typedef'd together so code that defines a GUID and passes that in as IID compiles just fine. However on non-Windows platforms that fails as _GUID and _IID are two separate structs.

We should either define GUID and IID separately for Windows or use typedef on non-Windows platforms. Given the benefits of having intercom::GUID and intercom::IID be compatible with Windows GUID type, we should probably just typedef these on non-Windows platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant