[
https://issues.apache.org/jira/browse/ZOOKEEPER-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Hu updated ZOOKEEPER-1463:
----------------------------------
Attachment: (was: zookeeper-1463.patch)
> 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
> Fix For: 3.4.4, 3.5.0
>
> Attachments: 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