Boost logo

Boost Users :

Subject: Re: [Boost-users] [Review] Phoenix V3: Mini-review starts February 20th
From: Larry Evans (cppljevans_at_[hidden])
Date: 2011-02-26 20:40:23


On 02/26/11 18:49, Michael Caisse wrote:
> On 02/26/2011 03:00 PM, Larry Evans wrote:
>> On 02/26/11 16:40, Michael Caisse wrote:
>>
>>> On 02/26/2011 01:55 PM, Larry Evans wrote:
>>>> Would the svn update still work?
>>>>
>>>>
>>> Yes. You would need to run 'svn update' in each directory (boost/phoenix
>>> and libs/phoenix).
>>>
>>>
>> Did that, but it doesn't avoid the error messages about macro arity:
>>
>>
> <snip>
>> common.mkdir ../../../bin.v2/libs/phoenix
>> common.mkdir ../../../bin.v2/libs/phoenix/test
>> common.mkdir ../../../bin.v2/libs/phoenix/test/primitives_tests.test
>>
>>
> <snip>
>> ../../../boost/mpl/aux_/template_arity.hpp:86:1: error: macro
>> "BOOST_PP_TUPLE_ELEM_2_0" requires 2 arguments, but only 1 given
>> ../../../boost/mpl/aux_/template_arity.hpp:86:1: error: macro
>> "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
>> ../../../boost/mpl/aux_/template_arity.hpp:86:1: error: macro
>> "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
>> ../../../boost/mpl/aux_/template_arity.hpp:86:1: error: macro
>> "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
>> ../../../boost/mpl/aux_/template_arity.hpp:86:1: error: macro
>> "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
>> .
>>
>
> primitives_tests compile file for me with the same compiler. Are you
> sure your trunk is up-to-date?
>
> I am running:
>
> trunk: 69314
> phoenix: boost - 69214 libs - 69307
>
> gcc 4.4.3 and clang 2.9 both compile the primitives_tests ok.
>
> I do have 3 other target failing for various reasons that I will post
> about later.
>
I decided to use boost_1_46_0; so, I downloaded the tar file, unpacked
it, made bjam. Also, I moved the phoenix boost and lib directorys back
to where there were before. Now, at least one test passes:

> Welcome to the Emacs shell
>
> ~/prog_dev/boost-svn/ro/boost_1_46_0/sandbox/ro/SOC/2010/phoenix3/libs/phoenix/test $ which bjam
> /home/evansl/prog_dev/boost-svn/ro/boost_1_46_0/tools/build/v2/bjam
> ~/prog_dev/boost-svn/ro/boost_1_46_0/sandbox/ro/SOC/2010/phoenix3/libs/phoenix/test $ echo $BOOST
> /home/evansl/prog_dev/boost-svn/ro/boost_1_46_0
> ~/prog_dev/boost-svn/ro/boost_1_46_0/sandbox/ro/SOC/2010/phoenix3/libs/phoenix/test $ bjam pheonix_core
> sh: icpc: not found
> /home/evansl/prog_dev/boost-svn/ro/boost_1_46_0
> notice: could not find main target pheonix_core
> notice: assuming it is a name of file to create.
> don't know how to make <e>pheonix_core
> ...found 1 target...
> ...can't find 1 target...
> ~/prog_dev/boost-svn/ro/boost_1_46_0/sandbox/ro/SOC/2010/phoenix3/libs/phoenix/test $ bjam phoenix_core
> sh: icpc: not found
> /home/evansl/prog_dev/boost-svn/ro/boost_1_46_0
> ...patience...
> ...found 778 targets...
> ...updating 4 targets...
> gcc.compile.c++ bin/primitives_tests.test/gcc-4.5.1n/debug/core/primitives_tests.o
> gcc.link bin/primitives_tests.test/gcc-4.5.1n/debug/primitives_tests
> testing.capture-output bin/primitives_tests.test/gcc-4.5.1n/debug/primitives_tests.run
> **passed** bin/primitives_tests.test/gcc-4.5.1n/debug/primitives_tests.test
> ...updated 4 targets...
> ~/prog_dev/boost-svn/ro/boost_1_46_0/sandbox/ro/SOC/2010/phoenix3/libs/phoenix/test $


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