[Cbc] Cbc-2.9.7 doesn't compile with gcc-5

ycollette.nospam at free.fr ycollette.nospam at free.fr
Wed Feb 17 09:49:00 EST 2016


Hello,

Some news related to this problem:
The bug on the gcc bugtracker: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69826

It's a gcc problem. Will be fixed on gcc-6.
The workaround: don't use ccache for compilation.

YC

----- Mail original -----
De: "Yann Collette" <ycollette.nospam at free.fr>
À: cbc at list.coin-or.org
Envoyé: Lundi 15 Février 2016 21:47:34
Objet: Re: [Cbc] Cbc-2.9.7 doesn't compile with gcc-5

Just a small question: what distribution do you use ?
Do you use your own compiled version of gcc-5.3.0 ?

I have filled a bug report on the gcc bug tracker. I will see what will 
happen.

YC

Le 15/02/2016 17:23, John Forrest a écrit :
> Can't duplicate error.  Don't understand it either as 
> CILK_FOR_GRAINSIZE is defined at line 26 of CoinAbcHelperFunctions.hpp 
> so should be around at line 99.
>
> I was using 5.3.0
>
> I did get an error in the compiler saying it couldn't inline a printf 
> statement.  My normal recent builds have -DGCC_4_9 to turn the printf 
> into an assert (and other problems with cilk).
>
> John Forrest
> On 15/02/16 13:55, ycollette.nospam at free.fr wrote:
>> --enable-aboca=4 CXXFLAGS=-fcilkplus
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc

_______________________________________________
Cbc mailing list
Cbc at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/cbc



More information about the Cbc mailing list