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

RISC-V: jdk can't be built with clang due to register keyword

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 22
    • None
    • hotspot
    • b26
    • riscv
    • linux

    Description

      vm_version_linux_riscv.cpp has keyword register on line 77:

      register unsigned long __v;

      This results in warning ( and erro in default mode) -
      register storage class specifier is deprecated and incompatible with C++17

      Attachments

        Issue Links

          Activity

            People

              vkempik Vladimir Kempik
              vkempik Vladimir Kempik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: