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

Compilation error on MacOS X: hotspot/src/share/vm/memory/filemap.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • None
    • infrastructure
    • x86_64
    • os_x

      The latest filemap.cpp cannot be compiled on MacOS X due to the following compilation error:

      /work/jdk9-dev/hotspot/src/share/vm/memory/filemap.cpp:91:17: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
          tty->vprint(msg, ap);
                      ^~~

      The same source code can be compiled on Linux without errors.

            Unassigned Unassigned
            peytoia Yuka Kamiya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: