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

libdt_socket: Build failed with VS2013 SP4

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b67
    • OS:
      windows

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: