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
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel