Opened 5 years ago

Last modified 23 hours ago

#62 new enhancement

Clp no longer compiles using MSVC

Reported by: jonnyz007 Owned by: somebody
Priority: trivial Milestone:
Component: component1 Version:
Keywords: VC++, tolower Cc:

Description

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()).

Change History (2)

comment:1 Changed 5 years ago by kelman

Should be fixed by https://projects.coin-or.org/CoinUtils/changeset/1665. Try replacing CoinUtils? with version 2.9.10.

The std:: was added only 5 commits earlier at https://projects.coin-or.org/CoinUtils/changeset/1660, it's needed to compile on Mac OS X 10.9.

Last edited 5 years ago by kelman (previous) (diff)
Note: See TracTickets for help on using tickets.