I am unable to build with the latest boost and netlib.  Including
network.hpp causes errors in boost::spirit.  This is using Visual
Studio 2010, x86 unicode build.

#include <boost/network.hpp>
int main(int argc, char** argv) { return 0; }

Produces this output on compile (trimmed for message size):


1>------ Build started: Project: netlib-test, Configuration: Debug Win32 ------
1>Build started 2/23/2011 10:35:27 AM.
1>InitializeBuildStatus:
1>  Touching "Debug\netlib-test.unsuccessfulbuild".
1>ClCompile:
1>  netlib-test.cpp
1>c:\libraries\boost\include\boost-1_46\boost\spirit\home\qi\nonterminal\rule.hpp(266):
error C2664: 'boost::spirit::qi::transform_attribute<Exposed,Transformed>::pre'
: cannot convert parameter 1 from 'boost::optional<T>' to
'boost::spirit::qi::optional<Subject> &'
1>          with
1>          [
1>
Exposed=boost::optional<std::basic_string<char,std::char_traits<char>,std::allocator<char>>>,
1>
Transformed=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
1>          ]
1>          and
1>          [
1>
T=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
1>          ]
1>          and
1>          [
1>
Subject=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
1>          ]
1>          
c:\libraries\boost\include\boost-1_46\boost\spirit\home\qi\reference.hpp(43)
: see reference to function template instantiation 'bool
boost::spirit::qi::rule<Iterator,T1>::parse<Context,Skipper,Attribute>(Iterator
&,const Iterator &,Context &,const Skipper &,Attribute &) const' being
compiled
1>          with
1>          [
1>              Iterator=iterator,
1>
T1=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
(void),
1>

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to