[
https://issues.apache.org/jira/browse/THRIFT-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Taedcke closed THRIFT-1524.
-------------------------------------
Resolution: Fixed
Fix Version/s: 0.9
Thanks for applying the patches. It compiles now in VS 2010.
> 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
> Fix For: 0.9
>
> Attachments: THRIFT-1524.patch, close_call_namespace.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