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

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

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: