[Cbc] CInterfaceTest doesn't compile

victor.zverovich at gmail.com victor.zverovich at gmail.com
Thu Oct 2 11:31:25 EDT 2014


Cbc/test/CInterfaceTest.c fails to compile on VC2010 (and possibly other
compilers) because the latter doesn't have the INFINITY macro:

  Cbc\test\CInterfaceTest.c(43): error C2065: 'INFINITY' : undeclared
identifier

Also stdlib.h should be included for malloc:

  Cbc\test\CInterfaceTest.c(47): warning C4013: 'malloc' undefined;
assuming extern returning int

Possible fix is available here:
https://github.com/ampl/coin/commit/a260a3b01d3cbb24280636b514d1f7ca65b273f4

Best regards,
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20141002/74901361/attachment.html>


More information about the Cbc mailing list