[ https://issues.apache.org/jira/browse/THRIFT-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531180#comment-14531180 ]
James E. King, III commented on THRIFT-2000: -------------------------------------------- I found that with the cmake environment, I couldn't easily trick it into using event.h from libevent. I had to modify CMakeCache.txt to fix it up after generating, which is bad. That said, libevent is broken as a cross-platform toolkit since it requires non-windows tools to generate code that it needs, and special copying commands to lay out the directories the right way. How do other people use libevent on Windows?? > 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: Konrad Grochowski > 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)