|
nt ClientAcceptor::handle_input (ACE_HANDLE)
{
ClientService *client;
ACE_NEW_RETURN (client, ClientService, -1);
auto_ptr<ClientService> p (client);
if (this->acceptor_.accept (client->peer ()) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
ACE_TEXT ("(%P|%t) %p\n"),
ACE_TEXT ("Failed to accept ")
ACE_TEXT ("client connection")),
-1);
p.release ();
client->reactor (this->reactor ());
if (client->open () == -1)
client->handle_close (ACE_INVALID_HANDLE, 0);
return 0;
}
1>------ 已启动生成: 项目: Ex4, 配置: Debug Win32 ------
1>正在编译...
1>Ex4Dlg.cpp
1>c:\ace_wrappers\ace\null_mutex.h(224) : error C2061: 语法错误 : 标识符“nothrow”
1>d:\ace例子\ex4\ex4\ex4dlg.cpp(221) : error C2061: 语法错误 : 标识符“nothrow”
1>生成日志保存在“file://d:\ACE例子\Ex4\Ex4\Debug\BuildLog.htm”
1>Ex4 - 2 个错误,0 个警告
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
这个错误怎么处理 跪谢!!! |
|