[Boost-bugs] [Boost C++ Libraries] #5813: [graph] csr_graph_test failing on MSVC

Subject: [Boost-bugs] [Boost C++ Libraries] #5813: [graph] csr_graph_test failing on MSVC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-26 14:47:46

#5813: [graph] csr_graph_test failing on MSVC
 Reporter: Richard Webb <richard.webb@…> | Owner: jewillco
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
 The csr_graph_test test is failing on the MS compilers due to a conflict
 between std::numeric_limits<T>::max and the max macro -> see
 http://tinyurl.com/3g22uxe for the official test results.

 changing line 27 of relax.hpp from

 closed_plus() : inf(std::numeric_limits<T>::max()) { }


 closed_plus() : inf((std::numeric_limits<T>::max)()) { }

 allows the test to pass.

Ticket URL: <https://svn.boost.org/trac/boost/ticket/5813>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC