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

Solaris Studio 12.4 C++ 5.13 compilation error due to lack of "surplus" prototype for binaryTreeDictionary.cpp

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b14

      Description

      Error level diagnostic when compiling Hotspot with C++ 5.13, needs investigation possible code change:

      ...
      D -xMF ../generated/dependencies/binaryTreeDictionary.o.d -o binaryTreeDictionary.o <directory>/src/share/vm/memory/binaryTreeDictionary.cpp
      "<directory>/src/share/vm/memory/binaryTreeDictionary.cpp", line 123: Error: The function "surplus" must have a prototype.
      1 Error(s) detected.

        Attachments

          Activity

            People

            • Assignee:
              lfoltan Lois Foltan
              Reporter:
              lfoltan Lois Foltan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: