Boost logo

Boost :

Subject: [boost] [1.52] compile errors with xcode / apple llvm 4.1
From: Jochen Wilhelmy (jochen.wilhelmy_at_[hidden])
Date: 2012-10-13 09:22:27


Hi!

Had anybody success in compiling an own project that uses boost with
xcode 4.5.1 / apple llvm 4.1?

I get this error:
In file included from
/Users/jwilhelmy/Coding/Install/include/boost/type_traits.hpp:35:
In file included from
/Users/jwilhelmy/Coding/Install/include/boost/type_traits/has_operator.hpp:42:
In file included from
/Users/jwilhelmy/Coding/Install/include/boost/type_traits/has_post_decrement.hpp:34:
.../boost/type_traits/detail/has_postfix_operator.hpp:143:109: error:
expected expression
    BOOST_STATIC_CONSTANT(bool, value = (sizeof(check(((make<Lhs>()
BOOST_TT_TRAIT_OP),make<has_operator>())))==sizeof(::boost::type_traits::yes_type)));
^
.../boost/config/suffix.hpp:392:72: note: expanded from macro
'BOOST_STATIC_CONSTANT'
# define BOOST_STATIC_CONSTANT(type, assignment) static const type
assignment
^
-Jochen


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