Boost logo

Boost :

Subject: Re: [boost] [accumulators] broken on msvc
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-06-15 12:23:43


On Sun, Jun 15, 2014 at 8:03 PM, Jürgen Hunold <jhunold_at_gmx.eu> wrote:
> Hi!
>
> It seems that Boost.Accumulators is broken for all msvc builds with error
> messages like:
>
> boost/accumulators/framework/accumulators/reference_accumulator.hpp(72) :
> error C2061: syntax error : identifier 'BOOST_PP_CAT'
> boost/accumulators/framework/accumulators/reference_accumulator.hpp(72) :
> fatal error C1903: unable to recover from previous error(s); stopping
> compilation
>
> (from
> http://www.boost.org/development/tests/develop/developer/output/teeks99-02e-win2008-64on64-boost-bin-v2-libs-accumulators-test-count-test-msvc-12-0-debug-iterator_debugging-off-link-static-threading-multi.html)
>
> The regression page
> http://www.boost.org/development/tests/develop/developer/accumulators.html
> shows _all_ msvc builders failing.
>
> My own code broke with an identical message sometime last week.
>
> Any ideas?

I think there's a missing #include <boost/preprocessor/cat.hpp> in
boost/accumulators/accumulators_fwd.hpp. There is another use of
BOOST_PP_CAT in boost/accumulators/numeric/detail/function_n.hpp but
it has the #include. I don't see how this could be related to
boost/accumulators/framework/accumulators/reference_accumulator.hpp
though.


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