Changes between Initial Version and Version 1 of Ticket #40330, comment 2


Ignore:
Timestamp:
Oct 31, 2013, 4:13:40 PM (11 years ago)
Author:
michaelld (Michael Dickens)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40330, comment 2

    initial v1  
    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?
     1I'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}}}
     5or
     6{{{
     7-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0
     8}}}
     9for compiling. I wish this was my issue, but it's not; maybe it will work for this ticket?