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

loopPredicate.cpp:712:66: error: data argument not used by format string

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      During merge from jdk10/jdk10 into jdk10/hs we hit Hotspot build problem on macOS:

      hotspot/src/share/vm/opto/loopPredicate.cpp:712:66: error: data argument not used by format string [-Werror,-Wformat-extra-args]
            predString->print(offset->is_Con() ? "+ %d " : "+ offset", con_offset);

      It seems it is caused by JDK-8181449 changes in jdk10/hs which added new formats checks:

      http://hg.openjdk.java.net/jdk10/hs/hotspot/rev/7903df1b0c4f#l78.2

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kvn Vladimir Kozlov
                Reporter:
                kvn Vladimir Kozlov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: