Boost logo

Boost :

Subject: Re: [boost] [spirit][phoenix] Spirit v2 conflicts with Phoenix v3
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2012-07-20 04:33:41


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.


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