-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
libuv build fails with mingw-w64-x86_64-headers-git-9.0.0.6327.f29c1101f-1-any #9946
Comments
@lhmouse any ideas? |
The issue is in neovim/deps repository. It already defines TCP_INITIAL_RTO_PARAMETERS structure which is defined in mstcpip.h in mingw-w64 headers (and WinSDK also). Here https://github.com/neovim/deps/blob/master/src/libuv/src/win/winapi.h |
libuv includes |
That's also an issue. A project should not define types which already in system provided header. But also mingw-w64 may not have that TCP_INITIAL_RTO_PARAMETERS type previously. So, which one should be fixed first? 😕 |
I shall try to compile some projects first before removing mstcpip.h. |
Looking at the commit history of ws2tcpip.h https://sourceforge.net/p/mingw-w64/mingw-w64/ci/2b92dc939918246a28f616ae036e7fde2f5ea979/tree//mingw-w64-headers/include/ws2tcpip.h?diff=bed29d9f84b6cc424a62d6e092a0f7b41234593b (from 2019-02-11 to the latest commit) I don't see any change related to |
It looks like ws2tcpip.h requires mstcpip.h for SOCKET_SECURITY_QUERY_TEMPLATE type. Though WinSDK's ws2tcpip.h does not include mstcpip.h, the former one requires SOCKET_SECURITY_QUERY_TEMPLATE type definition for WSAQuerySocketSecurity function definition. |
The following change seems to have added the definition of the structure, causing a conflict. Removing the include of |
I don't know if this is the right place to report this, but I get the following libuv build failures. The reason for this is that
mstcpip.h
is included inws2tcpip.h
. In theWS2tcpip.h
of SDK (10.0.19041.0),mstcpip.h
is not inlcude.Build Log
The text was updated successfully, but these errors were encountered: