The problem is in the file <AssertMacros.h>
, which is somehow getting included.
It defines a macro named check
(and another named require
) which conflict with the function named check
in "boost/type_traits/detail/has_binary_operator.hpp".
You can define __ASSERTMACROS__
to prevent this from happening.
FWIW, in Mac OS X 10.7 and later, Apple renamed these macros to __check
etc, to forestall this problem.