|
Boost Users : |
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2007-10-16 08:44:09
Eric,
attached is the subversion diff file. I used the official boost 1.34.1 with
contained xpressive and patched it for fusion 2.0.
using this define will switch to fusion v2 support>
#ifndef BOOST_XPRESSIVE_FUSION_V2
# define BOOST_XPRESSIVE_FUSION_V2
#endif
As we have internal version control under which the xpressive 1.34.1 sources
were the patch contains revision 9 to working copy.
With Kind Regards,
Ovanes
On 9/27/07, Eric Niebler <eric_at_[hidden]> wrote:
>
>
> Ovanes Markarian wrote:
> > Eric,
> > I changed the files. Should I zip them and post via mailinglist? Or
> > should I submit them somewhere else?
> >
> > List of files which were changed:
> >
> > detail/core/linker.hpp
> > detail/core/matcher/alternate_matcher.hpp
> > detail/static/productions/alt_compilers.hpp
> > detail/utility/any.hpp
> > detail/utility/cons.hpp
> > proto/op_base.hpp
> > proto/proto_fwd.hpp
> > xpressive.hpp
> >
> > One problem is that xpressive.hpp has info about boost version, but this
> > is the mostly used file for inclusion. Therefore I believe this check
> > fill fail even in boost 1.35:
> >
> > #if BOOST_VERSION >= 103500
> > # ifndef BOOST_XPRESSIVE_FUSION_V2
> > # define BOOST_XPRESSIVE_FUSION_V2
> > # endif //BOOST_XPRESSIVE_FUSION_V2
> > #endif //BOOST_VERSION
> >
> > I also executed your examples from the boost/lib directory and they
> > produced in both cases same results. Your answer today is highly
> > appreciated, since I will be on vacation from tomorrow on.
>
>
> Hi Ovanes. Sorry for not getting back to you sooner. I've been at the
> Astoria Seminar all week, and not checking email. I'm glad you've
> managed to get this working.
>
> The version of xpressive in SVN is very different than the version you
> have. Many of the files you've patched don't even exist anymore! I could
> apply to the patch to the old RC_1_34_0 branch and put an updated
> xpressive.zip in the File Vault, but the next version of Boost would not
> reflect your fixes. I think that's OK because the next version of Boost
> will have Fusion-2 and won't need your patch. If that's ok with you,
> then go ahead and send me the patch (as a SVN patch file against the
> RC_1_34_0 branch, if possible), and I'll apply it.
>
> Thanks,
>
> --
> Eric Niebler
> Boost Consulting
> www.boost-consulting.com
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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