[
https://issues.apache.org/jira/browse/THRIFT-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530303#comment-14530303
]
Konrad Grochowski commented on THRIFT-2000:
-------------------------------------------
ohhh I see what happened - on Windows I've set include path to
LIBEVENT/include/event2, yet there's also event.h directly in LIBEVENT
directory, which includes deprecated 1.x libevent structures. So - Thrift
really still depends on libevent 1.x and that's all...
This patch is unnecessary, but might be usefull if we move to event2
> TNonblocking server does not compile with libevent 2.0.21-stable
> ----------------------------------------------------------------
>
> Key: THRIFT-2000
> URL: https://issues.apache.org/jira/browse/THRIFT-2000
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.9
> Environment: libevent 2.0.21
> gcc 4.7
> Reporter: Konrad Grochowski
> Assignee: James E. King, III
> Attachments: libevent_2_0_21.patch
>
>
> problem lays in usage of deprecated libevent API, which is still available
> but in different headers
> In patch there's ifdef based on libevent version, which will include missing
> headers, but maybe some refactoring for future will be needed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)