From: Nelson, E. - 2 <eri...@ba...> - 2010-02-24 16:31:05
|
If I make a program like ******************************************* #include "boost/network/protocol/http/client.hpp" typedef boost::network::http::basic_client<boost::network::tags::http_keepalive_ 8bit_udp_resolve, 1, 1> http_client; void func() { http_client::request request; http_client client; client.get(request); } #include "boost/network/protocol/http/server.hpp" ******************************************** I get a compile error that I've been unable to figure out that begins 1>C:\work\boost\boost/network/protocol/http/impl/sync_connection_base.hp p(318) : error C2059: syntax error : '<' 1> C:\work\boost\boost/network/protocol/http/policies/pooled_connection.hpp (36) : see reference to class template instantiation 'boost::network::http::impl::sync_connection_base<Tag,version_major,vers ion_minor>' being compiled For what it's worth, I get the same error if I add #include "boost/network/protocol/http/server.hpp" as the last line of the example 'http_client.cpp' Has anyone else seen this? Any hints about what I'm doing wrong? Thanks Erik |