hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3742) libhdfs symbol visibility issues
Date Mon, 30 Jul 2012 23:44:36 GMT
Colin Patrick McCabe created HDFS-3742:
------------------------------------------

             Summary: libhdfs symbol visibility issues
                 Key: HDFS-3742
                 URL: https://issues.apache.org/jira/browse/HDFS-3742
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.2.0-alpha
            Reporter: Colin Patrick McCabe
            Assignee: Colin Patrick McCabe
            Priority: Minor


libhdfs symbols should be hidden unless they're part of the API.  If we don't hide symbols,
they could conflict with symbols in a library user's program.

This can be accomplished with __attribute__((visibility)) like this:

{code}
void __attribute__((visibility("hidden"))) bar(int i);
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message