1 | | I'm trying to track down a similar bug. Have you looked at [https://svn.boost.org/trac/boost/ticket/6219 this Boost ticket]? Seems like if Apple headers are included before Boost, then issues can arise because of the "#define check" in AssertMacros.h; "check" is then used by Boost's "operator_exists" in has_binary_operator.hpp (and, maybe, elsewhere). Solution is to either include boost first, or to "#define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0" or "-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0" for compiling. I wish this was my issue, but it's not; maybe it will work for this ticket? |
| 1 | I'm trying to track down a similar bug. Have you looked at [https://svn.boost.org/trac/boost/ticket/6219 this Boost ticket]? Seems like if Apple headers are included before Boost, then issues can arise because of the "#define check" in AssertMacros.h; "check" is then used by Boost's "operator_exists" in has_binary_operator.hpp (and, maybe, elsewhere). Solution is to either include boost first, or to |
| 2 | {{{ |
| 3 | #define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 |
| 4 | }}} |
| 5 | or |
| 6 | {{{ |
| 7 | -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 |
| 8 | }}} |
| 9 | for compiling. I wish this was my issue, but it's not; maybe it will work for this ticket? |