
On 23 April 2012 22:55, Robert Dailey <rcdailey.lists@gmail.com> wrote:
On Mon, Apr 23, 2012 at 4:50 PM, Nathan Ridge <zeratul976@hotmail.com>wrote:
I'm including <boost/spirit/include/phoenix1.hpp>. I hope that's right.
That's an old version of phoenix (phoenix v1).
Try <boost/spirit/include/phoenix.hpp>, which includes phoenix v2.
I included that one first, but it said it was deprecated and to use the v1 header.
You probably used <boost/spirit/phoenix.hpp>, which was the deprecated v1 header. It suggested using <boost/spirit/include/phoenix1.hpp> instead, but that message was intended for existing v1 code. <boost/spirit/include/phoenix.hpp> is the correct v2 header. It was a bit confusing during the transition to the new directory structure. Here's the page from the spirit documentation which describes the header structure: http://www.boost.org/libs/spirit/doc/html/spirit/structure/include.html