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

JLONG_FORMAT_W incompatible with type jlong

XMLWordPrintable

    • 13
    • b23
    • generic
    • other

      JLONG_FORMAT_W is derived from INT64_FORMAT_W which uses the PRId64 macro from inttypes.h. For bsd, PRId64 translates into "lld". jlong, on the other hand, is typedef'ed as "long int". This causes the compiler to complain about incompatible types. On the other hand, JLONG_FORMAT seems compatible with type jlong.

            lucy Lutz Schmidt (Inactive)
            lucy Lutz Schmidt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: