typedefs without type names

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: