
Christopher Kohlhoff wrote:
Well, yesterday I was able to reproduce the problem exactly as you described using the performance/server test program. That problem no long occurs for me using the latest version of asio in CVS.
I'm trying the CVS version of boost (using asio from there) with VC7.1 but I got a multiple definition link error: stdafx.obj : error LNK2005: "struct arg<1>::arg<1> & boost::asio::placeholders::`anonymous namespace'::error" (?error@?A0x14d8013b@placeholders@asio@boost@@3AAU?$arg@$00@4@A) already defined in server.obj Debug/HttpServer.exe : fatal error LNK1169: one or more multiply defined symbols found void server::accept_handler(const boost::system::error_code &e) { } void server::accept() { m_acceptor.async_accept(m_connection->getSocket(), boost::bind(&server::accept_handler, this, boost::asio::placeholders::error)); } Am I missing anything?