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

Windows build failure - "'snprintf': identifier not found"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Subcomponent:
    • Introduced In Version:
      12
    • Resolved In Build:
      b05
    • OS:
      windows

      Description

      build failure on Windows with Visual Studio 2013

      Compiling 2968 files for java.base
      r:/openjdk/test/hotspot/gtest/classfile/test_symbolTable.cpp(128) : error C3861: 'snprintf': identifier not found
      make[3]: *** [lib/CompileGtest.gmk:60: /cygdrive/r/buildroot/hotspot/variant-server/libjvm/gtest/objs/test_symbolTable.obj] Error 1

      Visual Studio 2013 is newest compiler supported on Windows (by doc) and it does not have `snprintf` function.

      Introduced by https://bugs.openjdk.java.net/browse/JDK-8207359 changeset: http://hg.openjdk.java.net/jdk/jdk/rev/516acf6956a2

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mvala Michal Vala
                Reporter:
                mvala Michal Vala
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: