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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 10
    • hotspot
    • None
    • generic
    • generic

      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

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

              Created:
              Updated:
              Resolved: