FAQ
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


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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupcommon-dev @
categorieshadoop
postedDec 7, '10 at 9:51p
activeDec 7, '10 at 9:51p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Noah Watkins (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase