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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 12
    • 12
    • hotspot
    • 12
    • b05
    • windows

      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

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

              Created:
              Updated:
              Resolved: