|
Boost : |
Subject: Re: [boost] Failed to upgrade to Boost 1.39.0 (from 1.34.0)
From: Jeffrey Hellrung (jhellrung_at_[hidden])
Date: 2009-12-17 14:14:43
gaofg wrote:
> Hi,
>
> In past years, we have been used boost 1.34.0 in our projects, and it works
> fine. Now days, we want to update the boost to 1.39.0, but when we change
> the include directories and lib path to use boost 1.39.0, the following
> compile error occured:
>
> 1>d:\reference\boost\v1_39_0\boost\type_traits\type_with_alignment.hpp(138)
> : error C2061: syntax error : identifier
> 'BOOST_PP_LIST_FOLD_RIGHT_BOOST_PP_IIF_BOOST_PP_BITAND_1BOOST_PP_LIST_FOLD_LEFT_CHECK_BOOST_PP_IIF_BOOST_PP_CHECK'
> 1>
> d:\reference\boost\v1_39_0\boost\type_traits\type_with_alignment.hpp(143) :
> see reference to class template instantiation
> 'boost::detail::lower_alignment<target>' being compiled
> 1>d:\reference\boost\v1_39_0\boost\type_traits\type_with_alignment.hpp(138)
> : error C2059: syntax error : ')'
> 1>d:\reference\boost\v1_39_0\boost\type_traits\type_with_alignment.hpp(138)
> : error C2143: syntax error : missing ')' before '('
> 1>d:\reference\boost\v1_39_0\boost\type_traits\type_with_alignment.hpp(138)
> : error C2061: syntax error : identifier 'BOOST_PP_LIST_FOR_EACH_I_M'
> ...
> I have tried several ways to resovlve it, but all failed. Does anyone know
> how to fix this issue or any advice?
>
> I really appreciate your help.
>
> Best Regards,
>
> wind.
Looks like some Boost.Preprocessor macros. Did you try #include'ing the
Boost.Preprocessor library prior to anything else? If that fixes it,
maybe some #include's need be added to type_with_alignment.hpp (file a
ticket?)...
- Jeff
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk