You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2012/05/10 00:43:48 UTC
[jira] [Assigned] (ZOOKEEPER-1463) external inline function is not
compatible with C99
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt reassigned ZOOKEEPER-1463:
---------------------------------------
Assignee: Michael Hu
> external inline function is not compatible with C99
> ---------------------------------------------------
>
> Key: ZOOKEEPER-1463
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1463
> Project: ZooKeeper
> Issue Type: Bug
> Components: build
> Affects Versions: 3.4.3, 3.3.5
> Environment: debian linux x64
> Reporter: Michael Hu
> Assignee: Michael Hu
> Labels: external, inline
> Attachments: zookeeper-1463.patch, zookeeper-1463_1339.patch
>
> Original Estimate: 0.1h
> Remaining Estimate: 0.1h
>
> There is a use of external inline function in zookeeper hashtable_itr.h file, which is not compatible with C99. This causes problem when compiling with other library like code coverage library.
> ---
> hashtable_itr.h:37: error: 'cov_v_cab2c78b' is static but used in inline
> function 'hashtable_iterator_key' which is not static
> ---
> The easy fix would be put the following line in hashtable_itr.c which ignores this inline warning.
> #pragma GCC diagnostic ignored "-Winline"
--
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