Build failed in metaspace.cpp with VS2017

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 11
    • Affects Version/s: 11
    • Component/s: hotspot
    • b13
    • windows

      When building OpenJDK with VS2017, the build fails like this:

      d:/erik/jdk/open/src/hotspot/share/memory/metaspace.cpp(4134): error C3688: invalid literal suffix 'UINTX_FORMAT'; literal operator or literal operator template 'operator ""UINTX_FORMAT' not found
      lib/CompileJvm.gmk:149: recipe for target '/cygdrive/d/erik/jdk/build/windows-x64-open/hotspot/variant-server/libjvm/objs/metaspace.obj' failed
      make[3]: *** [/cygdrive/d/erik/jdk/build/windows-x64-open/hotspot/variant-server/libjvm/objs/metaspace.obj] Error 1

      This looks like a recent change as jdk-11+11 built fine.

            Assignee:
            Kim Barrett
            Reporter:
            Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: