Boost logo

Boost :

Subject: Re: [boost] [typeof] trunk build broken
From: cg (chengang31_at_[hidden])
Date: 2013-10-12 09:03:30


If seems r86260 breaks MSVC build too.

The code:

#if !defined(BOOST_MPL_CFG_HAS_TYPEOF) \
     && !defined(BOOST_MPL_PREPROCESSING_MODE) \
     && ( defined(BOOST_MPL_CFG_GCC) \
         || defined(__MWERKS__) && __MWERKS__ >= 0x3000 \
         )

# define BOOST_MPL_CFG_HAS_TYPEOF

#endif

should change to:

#if !defined(BOOST_MPL_CFG_HAS_TYPEOF) \
     && !defined(BOOST_MPL_PREPROCESSING_MODE) \
     && ( BOOST_MPL_CFG_GCC \ <========= Change here
         || defined(__MWERKS__) && __MWERKS__ >= 0x3000 \
         )

# define BOOST_MPL_CFG_HAS_TYPEOF

#endif

Because under MSVC: BOOST_MPL_CFG_GCC is defined to 0,
it is _defined_.

--
cg
On 9/26/2013 2:54 PM, Stephen Kelly wrote:
> On 09/26/2013 03:32 AM, Agustín K-ballo Bergé wrote:
>> Boost.TypeOf is broken as of revision #85920 due to an invalid
>> preprocessing directive. Patch attached.
>
> Thanks for that! Applied.
>
> Steve.
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>

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