Boost logo

Boost :

Subject: Re: [boost] [preprocessor]BOOST_PP_CHECK_2 with wrong number args
From: Larry Evans (cppljevans_at_[hidden])
Date: 2011-09-02 18:14:56


On 09/01/11 15:58, Edward Diener wrote:
> On 8/24/2011 6:33 PM, Larry Evans wrote:
>> On 08/24/11 17:20, Edward Diener wrote:
>> [snip]
>>> I have Eric Niebler's curryable.h. Is that your header file renamed to
>>> curryable.hpp ? What doe curryable.cpp look like ?
>> Just #include's curryable.hpp.
>>>
>>> If I can know the exact curryable.hpp and curryable.cpp you are using I
>>> can try it out with gcc-4.6.0 using MingW under Windows and see what my
>>> results are.
>> They're attached.
>> Thanks.
>
> Paul Mensonides explains why this error is occuring in the "painless
> currying" thread. The main gist for solving the compiler issue with gcc
> is to change:
>
> #elif BOOST_PP_ITERATION_FLAGS() == 1
>
> to
>
> #else
> #if BOOST_PP_ITERATION_FLAGS() == 1
>
> and to use the Boost PP code in the Boost trunk.
Thanks Edward and Paul. I made the suggested change and now
it's compiling.

-regards,
Larry


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