Boost Users :
Subject: Re: [Boost-users] [Phoenix] Compilation problem, help?
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-03-27 23:05:45
Brett Gmoser wrote:
> Hello everybody. With my current project I'm unfortunately still using
> Spirit 1.8.x and Phoenix. Having a bit of trouble figuring out the
> correct way to do something, hoping somebody can help! It actually
> compiles with the exception of some warnings from MSVC - the whole "A
> non-const reference may only be bound to an lvalue" warning I'm
> thinking it should be an easy fix probably just adding ref() or var() in
> the right places, I just can't figure out where.
> Here's some source code. The idea is to parse out an expression, and
> while doing so, store the operation type for later use at the end of the
> parsing, to avoid verbosity in having to do this every time I parse a
> different type of expression.
Please post Spirit related questions to Spirit's mailing list:
It would help to post a minimal cpp file that people could try.
-- Joel de Guzman http://www.boostpro.com http://spirit.sf.net
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net