-
Notifications
You must be signed in to change notification settings - Fork 248
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
MinGW support? #117
Comments
This library builds when Clang runs in MSVC compatibility mode. Building from mingw doesn't uses the MSVC compatibility mode. |
That's right when building with Microsoft Windows SDK, but not with Windows SDK shipped with MinGW, because wil uses some features provided by official Windows SDK. Build command line:
Output:
|
I'm not personally all that familiar with MinGW, but I'll try and speak to what I can.
|
Closing for now as we do not have the expertise to support MinGW. We welcome a pull request from someone who can make the appropriate changes. If there are Windows PSDK header changes that would make this easier please include them when you send the PR. |
WIL library is not compatible with MinGW(-W64) now, mostly because of gcc, which doesn't recognize some non-standard syntax. I also tried clang for mingw-w64, but it gave different errors.
test file:
g++:
It is too long, and is attached as file.
gcc.log
clang++:
The text was updated successfully, but these errors were encountered: