[ https://issues.apache.org/jira/browse/THRIFT-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Taedcke updated THRIFT-1524: -------------------------------------- Attachment: THRIFT-1524.patch This patch reverts the function void close(SOCKET) to int close (SOCKET), so that Visual Studio 2010 compiles TNonBlockingServer. > TNonBlockingServer does not compile in Visual Studio 2010 > --------------------------------------------------------- > > Key: THRIFT-1524 > URL: https://issues.apache.org/jira/browse/THRIFT-1524 > Project: Thrift > Issue Type: Bug > Components: C++ - Library > Affects Versions: 0.9 > Environment: Windows XP, Visual Studio 2010 > Reporter: Christian Taedcke > Attachments: THRIFT-1524.patch > > > Since Revision 1241171 TNonBlockingServer does not compile in Visual Studio > 2010. The return value of ::close(SOCKET) is used in an comparison. This > results in the following errors: > ..\thrift\lib\cpp\src\server\tnonblockingserver.cpp(1270): error C2120 > ..\thrift\lib\cpp\src\server\tnonblockingserver.cpp(1279): error C2120 -- 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