Hi Sebastien,

On Thu, Feb 24, 2011 at 2:40 AM, Sébastien Taylor <[email protected]> wrote:
> 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> &'

[snip]

This looks like a Spirit bug. Can you try building with Boost's SVN
Trunk and see if it's still an issue? I remember submitting a test to
the Spirit developers about this particular problem and I think
they're looking at getting this addressed soon.

BTW, have you tried building the tests that come with cpp-netlib? And
can you say which version you're using?

Thanks and I look forward to hearing from you again soon.

-- 
Dean Michael Berris
about.me/deanberris

------------------------------------------------------------------------------
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