[typeof] trunk build broken
Boost.TypeOf is broken as of revision #85920 due to an invalid preprocessing directive. Patch attached. Regards, -- Agustín K-ballo Bergé.- http://talesofcpp.fusionfenix.com
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
On 10/12/2013 03:03 PM, cg wrote:
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_.
Thanks! I changed the line to check for > 0 instead. Steve.
participants (3)
-
Agustín K-ballo Bergé
-
cg
-
Stephen Kelly