[Cbc-tickets] [COIN-OR Branch-and-Cut MIP Solver] #139: Compilation fails on OSX 10.9 with clang

COIN-OR Branch-and-Cut MIP Solver coin-trac at coin-or.org
Wed Nov 13 16:10:47 EST 2013


#139: Compilation fails on OSX 10.9 with clang
----------------------+-------------------
Reporter:  dominique  |      Owner:  tkr
    Type:  defect     |     Status:  new
Priority:  major      |  Component:  Cbc
 Version:  2.7        |   Keywords:  2.8.5
----------------------+-------------------
 The latest version of OSX (10.9, aka Mavericks) ships with clang 500-2.79,
 part of llvm 5.0.

 The compilation of CBC fails with the following error:

 {{{
 In file included from ../../../../Cgl/src/CglLandP/CglLandPSimplex.cpp:11:
 In file included from ../../../../Cgl/src/CglLandP/CglLandPSimplex.hpp:14:
 In file included from
 /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/iost
 ream:38:
 In file included from
 /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/ios:
 216:
 In file included from
 /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/__lo
 cale:15:
 In file included from
 /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/stri
 ng:434:
 /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/algorithm:644:97:
 error: invalid operands to binary expression ('const LAP::reducedCost' and
 'const LAP::reducedCost')
     _LIBCPP_INLINE_VISIBILITY bool operator()(const _T1& __x, const _T1&
 __y) const {return __x < __y;}
 ~~~ ^ ~~~
 }}}

 Here are the complete config.log
 (https://gist.github.com/anonymous/7456094) and make.log
 (https://gist.github.com/anonymous/7456314).

 The error appears to occur in CGL but strangely, I'm able to compile CGL
 0.58.3 by itself with the same compiler.

 This error doesn't occur on the previous version of OSX (10.8).

 Thanks in advance!

--
Ticket URL: <https://projects.coin-or.org/Cbc/ticket/139>
COIN-OR Branch-and-Cut MIP Solver <http://projects.coin-or.org/Cbc>
An LP-based branch-and-cut MIP solver.



More information about the Cbc-tickets mailing list