[MacPorts] #40330: hugin-app: failure to compile when including boost headers

MacPorts noreply at macports.org
Sun Sep 1 11:03:14 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:
 Keywords:           |       Port:  hugin-app boost
---------------------+--------------------------------
 hugin-app (both 2012.0.0 and the latest version from RCS at the time of
 writing) fails to compile with boost @1.54.0, at least on Lion. The list
 of errors is long, but here's the first one, most likely related to a
 weird mixture of Apple and boost headers conflicting with each other:

 {{{
 In file included from
 /work/hugin-2012.0.0/src/hugin_base/huginapp/ImageCache.h:30:
 In file included from /opt/local/include/boost/signal.hpp:27:
 In file included from /opt/local/include/boost/signals/signal0.hpp:24:
 In file included from
 /opt/local/include/boost/signals/signal_template.hpp:21:
 In file included from /opt/local/include/boost/signals/slot.hpp:15:
 In file included from /opt/local/include/boost/signals/trackable.hpp:13:
 In file included from /opt/local/include/boost/type_traits.hpp:35:
 In file included from
 /opt/local/include/boost/type_traits/has_operator.hpp:12:
 In file included from
 /opt/local/include/boost/type_traits/has_bit_and.hpp:43:
 /opt/local/include/boost/type_traits/detail/has_binary_operator.hpp:157:121:
 error: expected expression
    BOOST_STATIC_CONSTANT(bool, value = (sizeof(check(((make<Lhs>()
 BOOST_TT_TRAIT_OP
 make<Rhs>()),make<has_operator>())))==sizeof(::boost::type_traits::yes_type)));
 ^
 /opt/local/include/boost/config/suffix.hpp:393:72: note: expanded from
 macro 'BOOST_STATIC_CONSTANT'
 #     define BOOST_STATIC_CONSTANT(type, assignment) static const type
 assignment
                                                                        ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/40330>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list