[MacPorts] #41786: Coin @3.1.3 build failure on OS X 10.9 / Xcode 5.02

MacPorts noreply at macports.org
Thu Dec 12 14:42:46 PST 2013


#41786: Coin @3.1.3 build failure on OS X 10.9 / Xcode 5.02
-----------------------------+--------------------------------
 Reporter:  thomas.gimpel@…  |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.2.1
 Keywords:                   |       Port:
-----------------------------+--------------------------------
 Coin fails to build on Mavericks with Xcode 5.0.2. It seems that the math-
 undefs mechanism does not work, because Xcode uses the math functions to
 be avoided be Coin within some inline functions in
 ''/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath''
 like this:
 {{{
 inline _LIBCPP_INLINE_VISIBILITY float       acos(float __x) _NOEXCEPT
 {return acosf(__x);}
 }}}

 Since ''math-undefs.h'' contains:
 {{{
 #define acosf(x) NO_SINGLEPREC
 }}}
 the compilation fails as soon ''cmath'' is included.

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


More information about the macports-tickets mailing list