[MacPorts] #40330: hugin-app: failure to compile when including boost headers
MacPorts
noreply at macports.org
Thu Oct 31 09:12:03 PDT 2013
#40330: hugin-app: failure to compile when including boost headers
------------------------------+--------------------------------
Reporter: mojca@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: hugin-app boost |
------------------------------+--------------------------------
Comment (by michaelld@…):
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?
--
Ticket URL: <https://trac.macports.org/ticket/40330#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list