Boost logo

Boost Users :

From: Constantin Bryzgalin (constb_at_[hidden])
Date: 2007-08-09 13:09:50


Hello,

> I am using fusion v2 in my project and first would like to thank for the
> great lib. I installed this lib into the boost/fusion directory.

> Today I started using xpressive lib (which is also a great one!!!).
> Unfortunately xpressive broke my compilation, because it includes things
> from boost/spirit/fusion and my code includes headers from boost/fusion. Now
> my assumption: AFAIK spirit/fusion contains version 1. Since I would like to
> use version 2 I can not simply copy it into the spirit directory, since it
> can break other things like wave. Is it correct? If yes, does anyone have
> suggestions on how I should deal with this issues?

I'm not using boost fusion in my projects but as a C++ programmer first thing
I would try do is renaming fusion v2 namespace right after including its
headers and only then include xpressive's ones. Of course as a result using
fusion v2 will require explicit namespace specification.

-- 
Constantin Bryzgalin
http://www.oneclicktools.com

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