libdt_socket: Build failed with VS2013 SP4

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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

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

                Created:
                Updated:
                Resolved: