|
From: Dean M. B. <mik...@gm...> - 2011-02-24 04:58:02
|
Hi Sebastien,
On Thu, Feb 24, 2011 at 2:40 AM, Sébastien Taylor <me...@st...> 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
|