Boost logo

Boost :

From: Jarrad Waterloo (jwaterloo_at_[hidden])
Date: 2007-07-11 08:45:14


This is a small taste of what I get when I use these headers with VC8 and
boost 1.34. Please advise! Is there any hope when working these headers will
be made part of Spirit/Boost and the documentation updated to reflect how to
get it to work?

1>c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\functions.hpp(134) : error
C2977: 'phoenix::impl::make_composite' : too many template arguments
1> c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\composite.hpp(1337) : see
declaration of 'phoenix::impl::make_composite'
1> c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\functions.hpp(287) : see
reference to class template instantiation 'phoenix::function<OperationT>'
being compiled
1>c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\functions.hpp(140) : error
C2977: 'phoenix::impl::make_composite' : too many template arguments
1> c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\composite.hpp(1337) : see
declaration of 'phoenix::impl::make_composite'
1>c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\functions.hpp(151) : error
C2977: 'phoenix::impl::make_composite' : too many template arguments
1> c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\composite.hpp(1337) : see
declaration of 'phoenix::impl::make_composite'
1>c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\functions.hpp(358) : error
C2977: 'phoenix::impl::make_composite' : too many template arguments
1> c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\composite.hpp(1337) : see
declaration of 'phoenix::impl::make_composite'
1>c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\functions.hpp(383) : error
C2977: 'phoenix::impl::make_composite' : too many template arguments
1> c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\composite.hpp(1337) : see
declaration of 'phoenix::impl::make_composite'
1>c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\functions.hpp(410) : error
C2977: 'phoenix::impl::make_composite' : too many template arguments
1> c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\composite.hpp(1337) : see
declaration of 'phoenix::impl::make_composite'
1>c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\functions.hpp(134) : error
C2977: 'phoenix::impl::make_composite' : too many template arguments
1> c:\program
files\boost\boost_1_34_0\boost\spirit\phoenix\composite.hpp(1337) : see
declaration of 'phoenix::impl::make_composite'
1> d:\documents and settings\jwaterloo\my documents\visual studio
2005\projects\json_parser\json_parser\stl_containers.hpp(935) : see
reference to class template instantiation 'phoenix::function<OperationT>'
being compiled
1> with
1> [
1> OperationT=phoenix::stl::assign
1> ]

-----Original Message-----
From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
On Behalf Of Joel de Guzman
Sent: Tuesday, July 10, 2007 7:51 PM
To: boost_at_[hidden]
Subject: Re: [boost] Spirit Question

Jarrad Waterloo wrote:
> How does one do a push_back with push_back_a when one is using closures
> where the first member is a vector<any>? Similar knowledge is needed when
> member1 is a map<string, any>!
> I get the following error:
>

Don't use the *_a actions; they pre-date phoenix. Use the stl wrappers
for phoenix instead. You can get them here:
http://spirit.sourceforge.net/dl_more/stl-phx.zip

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost

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