Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080983

libdt_socket: Build failed with VS2013 SP4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • infrastructure
    • None
    • b67
    • windows

        Another encounter with this particular warning which was introduced in VS2013 SP4. This time we should probably move the preprocessor macro to configure so that it applies to all libraries.

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

              erikj Erik Joelsson
              erikj Erik Joelsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: