Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.6.2, 4.6.3, 4.7.0, 4.7.1, 5.0.0, Some future release
-
None
-
None
-
windows with cmd.exe and mingw(-w64) gcc
-
5d65e3c264332262fb09b8fe6f08d284c088a61d
Description
In the abovementioned file, there is a false include with mingw(-w64):
line 50: includes windows.h, which includes winsock.h
line 54-55: includes winsock2.h AFTER winsock.h when using gcc. This results in many double functions and is not allowed as per MSDN.
Proposed resolution: move line 50 to line 88, so that winsock2.h will not be included after windows.h