[
https://issues.apache.org/jira/browse/ZOOKEEPER-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16246664#comment-16246664
]
ASF GitHub Bot commented on ZOOKEEPER-2934:
-------------------------------------------
GitHub user anmolnar opened a pull request:
https://github.com/apache/zookeeper/pull/416
ZOOKEEPER-2934: Updated usage of LOG_DEBUG in recipes to follow changes in
ZK client
LOG_DEBUG macro has been changed recently in
https://issues.apache.org/jira/browse/ZOOKEEPER-1400
This patch updates 'lock' and 'queue' recipes to follow the changes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anmolnar/zookeeper ZOOKEEPER-2934
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/416.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #416
----
commit 86dc7190aeda82ffb3cf32aaa45426294ab7395b
Author: Andor Molnár <[email protected]>
Date: 2017-11-07T12:09:02Z
ZOOKEEPER-2934: Updated usage of LOG_DEBUG in recipes to follow changes in
ZK client
----
> c versions of election and queue recipes do not compile
> -------------------------------------------------------
>
> Key: ZOOKEEPER-2934
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2934
> Project: ZooKeeper
> Issue Type: Bug
> Components: recipes
> Affects Versions: 3.4.10, 3.5.3
> Reporter: Abraham Fine
> Assignee: Andor Molnar
>
> I see errors like:
> {code}
> /var/zookeeper/src/recipes/queue/src/c/../../../../../src/c/include/zookeeper_log.h:39:74:
> error: expected expression before ')' token
> log_message(_cb, ZOO_LOG_LEVEL_DEBUG, __LINE__, __func__, __VA_ARGS__)
> ^
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)