Boost logo

Boost :

Subject: Re: [boost] [spirit][phoenix] Spirit v2 conflicts with Phoenix v3
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2012-07-23 02:31:09


On 07/20/2012 10:33 AM, Andrey Semashev wrote:
> On Friday 20 July 2012 06:57:34 Thomas Heller wrote:
>> On Thursday, July 19, 2012 20:31:24 Andrey Semashev wrote:
>>> On Thursday 19 July 2012 16:49:03 Thomas Heller wrote:
>>>> You should define BOOST_SPIRIT_USE_PHOENIX_V3 instead...
>>> Sorry, I didn't go much further. Now it breaks in the following code:
>>> bool parse_counter_placeholder(path_string_type::const_iterator& it,
>>>
>>> path_string_type::const_iterator end, unsigned int& width)
>>>
>>> {
>>>
>>> return qi::parse
>>> (
>>>
>>> it, end,
>>> (
>>>
>>> qi::uint_[phoenix::ref(width) = qi::_1_type()]
>>>
>>> )
>>>
>>> );
>>>
>>> }
>> A minimal, self contained testcase we can try would be most helpful!
> Sure, there you go:
>
> http://pastebin.com/HD2Pnys6
>
> I'm using gcc 4.6 with Boost release branch.
You need to include boost/phoenix/operator.hpp in order to use the
operators like operator=
>
>
> _______________________________________________
> Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk