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-27 13:59:39


On 02/27/11 02:49, Thomas Heller wrote:
> On Sunday, February 27, 2011 02:40:23 AM Larry Evans wrote:
>
>> 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:
>
> <snip>
>
>
> Yes, phoenix_core only has one test.
>
> I have no idea about your other errors ... I just (succesfully) ran all
> the tests with gcc 4.2, 4.5 and clang 2.8.
>
> I am on svn revision 69216 and my working copy is clean.

My trunk was not clean, and that was causing the errors about wrong
number of args to a macro. My dirty trunk had:

  #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS

in:

  boost/mpl/aux_/config/use_preprocessed.hpp

Sorry for noise.

-Larry


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