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

typedefs without type names

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • None
    • core-libs
    • None
    • b03
    • generic
    • generic

      There are some typedefs without associated typenames in jdk/src/java.base/windows/native/libnio/ch/Net.c.

      They are of the form

        typedef struct <tag> { <member>... };

      These are equivalent to

        struct <tag> { <member>... };

      However, some compilers (including VS2015: C4091) may warn about the useless typedef keyword.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: