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

JLONG_FORMAT_W incompatible with type jlong

    XMLWordPrintable

Details

    • 13
    • b23
    • generic
    • other

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              lucy Lucy Schmidt
              lucy Lucy Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: