Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.23.0
    • Component/s: native
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Adds __attribute__ ((unused))

      Description

      The file:
      src/native/src/org_apache_hadoop.h

      declares the static function "do_dlsym" in the header as non-inline. Files including the header (e.g. for the THROW macro) receive a "defined but unused" warning during compilation.

      This function should either a) be inlined or b) use GCC "unused" attribute.

        Activity

        Noah Watkins created issue -
        Noah Watkins made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note Adds __attribute__ ((unused))
        Noah Watkins made changes -
        Attachment HADOOP-7059-1.patch [ 12465740 ]
        Noah Watkins made changes -
        Attachment HADOOP-7059-1.patch [ 12465740 ]
        Noah Watkins made changes -
        Attachment HADOOP-7059-1.patch [ 12465741 ]
        Noah Watkins made changes -
        Attachment HADOOP-7059-1.patch [ 12465745 ]
        Noah Watkins made changes -
        Attachment HADOOP-7059-1.patch [ 12465741 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Assignee Noah Watkins [ nwatkins ]
        Fix Version/s 0.23.0 [ 12315569 ]
        Resolution Fixed [ 1 ]
        Eli Collins made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Noah Watkins
            Reporter:
            Noah Watkins
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development