|
Boost : |
Subject: Re: [boost] [spirit2] conflict with asio header
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2009-05-07 11:21:59
> I'm not certain if this is an asio issue or spirit2
> issue (or user error).
>
> I checked Spirit out from the trunk and placed it
> into a 1.37 boost tree. I'm running gcc 4.3.2. Creating
> file foo.cpp with the following:
>
> ---------------
>
> #include <boost/asio.hpp>
> #include <boost/spirit/include/qi.hpp>
>
> ---------------
>
> Produces a string of errors including this snippet:
>
>
> from ../src/foo.cpp:3:
> ../../../library/vendor/boost/boost/proto/make_expr.hpp: At global
> scope:
> ../../../library/vendor/boost/boost/proto/make_expr.hpp:935: error:
> expected nested-name-specifier before numeric constant
> ../../../library/vendor/boost/boost/proto/make_expr.hpp:935: error:
> expected ââ¬Ë>ââ¬â¢ before numeric constant
> ../../../library/vendor/boost/boost/proto/make_expr.hpp:940: error:
> type/value mismatch at argument 3 in template parameter list for
> ââ¬Ëtemplate<class Tag, class DomainOrA0, class A0, class A1, class A2,
> class A3, class A4, class Void> struct
> boost::proto::result_of::make_exprââ¬â¢
> ../../../library/vendor/boost/boost/proto/make_expr.hpp:940: error:
> expected a type, got ââ¬Ë0ââ¬â¢
> ../../../library/vendor/boost/boost/proto/make_expr.hpp:940: error:
> expected initializer before ââ¬Ëconstââ¬â¢
Hmm, I'm not able to reproduce this problem. What Spirit2 are you using? The one released in Boost V1.36-1.39 or the one on the trunk?
Regards Hartmut
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk