JDK-8080990: libdt_socket/socket_md.c(202) : warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW()

Gary Adams gary.adams at oracle.com
Thu Feb 1 13:21:27 UTC 2018


On 2/1/18, 6:59 AM, Langer, Christoph wrote:
> But WSASendDisconnect isn't deprecated, right? So you wanted to get rid of it? I still don't see the reason...
vs2013 include/um/winsock2.h has WSASendDisconnect deprecated.

.../src/jdk.jdwp.agent/windows/native/libdt_socket/socket_md.c(230) : 
error C2220: warning treated as error - no 'object' file generated
.../src/jdk.jdwp.agent/windows/native/libdt_socket/socket_md.c(230) : 
warning C4996: 'WSASendDisconnect': Use WSASend() instead or define 
_WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings



More information about the build-dev mailing list