From common-issues-return-12013-apmail-hadoop-common-issues-archive=hadoop.apache.org@hadoop.apache.org Sun Dec 12 02:21:29 2010 Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 41362 invoked from network); 12 Dec 2010 02:21:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Dec 2010 02:21:28 -0000 Received: (qmail 47904 invoked by uid 500); 12 Dec 2010 02:21:28 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 47870 invoked by uid 500); 12 Dec 2010 02:21:28 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 47862 invoked by uid 99); 12 Dec 2010 02:21:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Dec 2010 02:21:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Dec 2010 02:21:26 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBC2L36Y004224 for ; Sun, 12 Dec 2010 02:21:04 GMT Message-ID: <17345878.76581292120463867.JavaMail.jira@thor> Date: Sat, 11 Dec 2010 21:21:03 -0500 (EST) From: "Eli Collins (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Updated: (HADOOP-7059) Remove "unused" warning in native code In-Reply-To: <17517648.37211291758669588.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HADOOP-7059: -------------------------------- Resolution: Fixed Fix Version/s: 0.23.0 Assignee: Noah Watkins Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I double checked the native build and committed this. Thanks Noah! > Remove "unused" warning in native code > -------------------------------------- > > Key: HADOOP-7059 > URL: https://issues.apache.org/jira/browse/HADOOP-7059 > Project: Hadoop Common > Issue Type: Improvement > Components: native > Affects Versions: 0.21.0 > Reporter: Noah Watkins > Assignee: Noah Watkins > Fix For: 0.23.0 > > Attachments: HADOOP-7059-1.patch > > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.