mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
7ca0a3791b
The function signature has had u_long flags since ever. This is how it is defined in the documentation, and implemented in MinGW. The code that uses ioctlsocket in nonblock.c also has unsigned long. Error: CurlTests.c:275:41: error: passing argument 3 of 'ioctlsocket' from incompatible pointer type [-Wincompatible-pointer-types] 275 | if(0 != ioctlsocket(0, FIONBIO, &flags)) | ^~~~~~ | | | int * In file included from CurlTests.c:266: /opt/mxe/usr/i686-w64-mingw32.static/include/winsock2.h:1007:76: note: expected 'u_long *' {aka 'long unsigned int *'} but argument is of type 'int *' 1007 | WINSOCK_API_LINKAGE int WSAAPI ioctlsocket(SOCKET s,__LONG32 cmd,u_long *argp); | ~~~~~~~~^~~~ Closes #13578 |
||
---|---|---|
.. | ||
Platforms | ||
cmake_uninstall.cmake.in | ||
CMakeConfigurableFile.in | ||
curl-config.cmake.in | ||
CurlSymbolHiding.cmake | ||
CurlTests.c | ||
FindBearSSL.cmake | ||
FindBrotli.cmake | ||
FindCARES.cmake | ||
FindGSS.cmake | ||
FindLibPSL.cmake | ||
FindLibSSH2.cmake | ||
FindMbedTLS.cmake | ||
FindMSH3.cmake | ||
FindNGHTTP2.cmake | ||
FindNGHTTP3.cmake | ||
FindNGTCP2.cmake | ||
FindQUICHE.cmake | ||
FindWolfSSL.cmake | ||
FindZstd.cmake | ||
Macros.cmake | ||
OtherTests.cmake | ||
PickyWarnings.cmake | ||
Utilities.cmake |