Michael Hu created ZOOKEEPER-1463:
-------------------------------------
Summary: 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
Environment: debian linux x64
Reporter: Michael Hu
There is a use of external inline function, which is not in standard in C99, in
zookeeper hashtable_itr.h file. 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 is to
ignore this non-standard function.
#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