[CoinUtils-tickets] [COIN-OR Common Utilities] #55: #define min/max ... conflict with std::numeric_limits<>::max/min
COIN-OR Common Utilities
coin-trac at coin-or.org
Tue Sep 16 12:06:51 EDT 2008
#55: #define min/max ... conflict with std::numeric_limits<>::max/min
------------------------+---------------------------------------------------
Reporter: slannez | Type: defect
Status: new | Priority: minor
Version: trunk (SVN) | Keywords:
------------------------+---------------------------------------------------
In CoinFinite.hpp when compiling with Microsoft VC8.0, the definition of
min and max macro (line 83, 86) conflict with min/max method of other
library. Because no namespace is used in coin, this conflict can only be
repaired by using std::min/max in CoinFinite.hpp.
--
Ticket URL: <https://projects.coin-or.org/CoinUtils/ticket/55>
COIN-OR Common Utilities <http://projects.coin-or.org/CoinUtils>
Common data structures and linear algebra functions for COIN-OR projects
More information about the CoinUtils-tickets
mailing list