In VS2013 SP4, gethostbyname has been deprecated. We should stop using deprecated functions.
I'm disabling the warning by setting -D_WINSOCK_DEPRECATED_NO_WARNINGS for all jdk libraries inJDK-8080983. This bug is about correcting the issue so we may remove that workaround.
The fix covers deprecated functions in lib net, nio and dt_socket.
Note: makefiles using DISABLED_WARNINGS_microsoft including 4996 have explicitly disabled deprecated function warnings.
I'm disabling the warning by setting -D_WINSOCK_DEPRECATED_NO_WARNINGS for all jdk libraries in
The fix covers deprecated functions in lib net, nio and dt_socket.
Note: makefiles using DISABLED_WARNINGS_microsoft including 4996 have explicitly disabled deprecated function warnings.
- relates to
-
JDK-8080983 libdt_socket: Build failed with VS2013 SP4
-
- Resolved
-