[ https://issues.apache.org/jira/browse/THRIFT-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530290#comment-14530290 ]
Konrad Grochowski commented on THRIFT-2000: ------------------------------------------- I have no idea how TNonblockingServer can compile without event_compat.h include, as we use event_set and it is defined only in that include. Probably on some linuxes event_compat.h is somehow implicitly included by other deps. On Windows I need that patch to compile TNonblockingServer and even in 2.0.15 libevent version (as even then event_set was deprecated) > 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 > Fix For: 0.9.3 > > 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)