Opened 6 years ago

Closed 8 months ago

#62 closed enhancement (migrated)

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 6 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 6 years ago by kelman (previous) (diff)

comment:2 Changed 8 months ago by stefan

  • Resolution set to migrated
  • Status changed from new to closed

This ticket has been migrated to GitHub and will be resolved there: ​https://github.com/coin-or/Clp/issues/62

Note: See TracTickets for help on using tickets.