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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • b14

      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.

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

              Created:
              Updated:
              Resolved: