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

Windows (MSVC 2017) build fails after JDK-8247910

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 16
    • hotspot

      This seems to start happening after JDK-8247910:

      c:/buildbot/worker/build-jdkX-windows/build/test/hotspot/gtest/utilities/test_align.cpp(96): error C2220: warning treated as error - no 'object' file generated
      c:/buildbot/worker/build-jdkX-windows/build/test/hotspot/gtest/utilities/test_align.cpp(156): note: see reference to function template instantiation 'void static_test_alignments<T,A>(void)' being compiled
              with
              [
                  T=int64_t,
                  A=uint8_t
              ]
      c:/buildbot/worker/build-jdkX-windows/build/test/hotspot/gtest/utilities/test_align.cpp(162): note: see reference to function template instantiation 'void test_alignments<int64_t,uint8_t>(void)' being compiled
      c:/buildbot/worker/build-jdkX-windows/build/test/hotspot/gtest/utilities/test_align.cpp(96): warning C4307: '+': integral constant overflow

            Unassigned Unassigned
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: