Boost logo

Boost Users :

From: Aleksey Gurtovoy (alexy_at_[hidden])
Date: 2003-09-02 23:35:28


jwwalker_com wrote:
> --- In Boost-Users_at_[hidden], "Paul Mensonides"
<yg-boost-users_at_m...>
> wrote:
> > Try this:
> >
> > #define BOOST_PP_CONFIG_FLAGS() BOOST_PP_CONFIG_STRICT()
> >
> > (All of those warnings come from workarounds used for previous versions
of
> > Metrowerks.)
>
>
> OK, I tried that, and it went from 14 warnings down to 1:
>
> Warning : invalid token pasting of 'BOOST_MPL_PP_TUPLE_11_ELEM_5' and '('
> (included from:
> expanding macro 'BOOST_PP_CAT'
> expanding macro 'BOOST_MPL_PP_SUB_DELAY'
> expanding macro 'BOOST_MPL_PP_SUB'
> expanding macro 'BOOST_MPL_PP_DEF_PARAMS_TAIL_IMPL'
> expanding macro 'BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL'
> expanding macro 'BOOST_MPL_AUX_VOID_SPEC_MAIN'
> expanding macro 'BOOST_MPL_AUX_VOID_SPEC'
> apply_if.hpp:20
> basics.hpp:19
> core.hpp:28
> spirit.hpp:30
> ParseCalcLine.cp:8)
> if.hpp line 172 ELEM_5, (0,0,0,0,1,2,3,4,5,6,7))

Unfortunately, to get rid of this one, you will need to modify your copy of
"boost/mpl/aux_/config/preprocessor.hpp" header:

#if defined(__MWERKS__) && (__MWERKS__ <= 0x3003 ||
!defined(BOOST_STRICT_CONFIG)) \

line needs to become

#if defined(__MWERKS__) && __MWERKS__ <= 0x3003 \

I just fixed it in the CVS, so at least the change will go into the next
release.

HTH,
Aleksey


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