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

jvmti.h causes C compiler warning

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      > FYI...
      >
      > The Sun version of lint is complaining about:
      >
      > typedef jint (JNICALL *jvmtiReservedCallback)();
      >
      > being an old-style declaration, wants it to be:
      >
      > typedef jint (JNICALL *jvmtiReservedCallback)(void);
      >


      Or since it is never called, you could change it to typedef jint (JNICALL *jvmtiReservedCallback)(void*);
      and both C++ and C would be happy.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: