coin-or / Clp.old

This a mirror of the subversion repository on COIN-OR.
https://projects.coin-or.org/Clp
Other
36 stars 20 forks source link

[TRAC] Clp no longer compiles using MSVC #10

Open qtothec opened 6 years ago

qtothec commented 6 years ago

Moved from TRAC as part of COIN fORgery: https://projects.coin-or.org/Clp/ticket/62

snip

Might be worth checking but Clp (1.15.5) no longer compiles with Visual Studio (2010 or 2012). Offending lines:

const int c0 = std::tolower(s0[i]);

which are lines 843 and 844 in CoinHelperFunctions?.hpp. VC++ doesn't know about std::tolower, not sure correct fix but dropping the namespace reference fixed it (i.e. just tolower()).