[Boost-bugs] [Boost C++ Libraries] #3629: #warning in BGL compressed_sparse_row_graph.hpp causes MSVC compile error

Subject: [Boost-bugs] [Boost C++ Libraries] #3629: #warning in BGL compressed_sparse_row_graph.hpp causes MSVC compile error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-17 07:22:19


#3629: #warning in BGL compressed_sparse_row_graph.hpp causes MSVC compile error
-------------------------------+--------------------------------------------
 Reporter: Ben | Owner: asutton
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: graph
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: bgl msvc #warning |
-------------------------------+--------------------------------------------
 The check for the BOOST_GRAPH_USE_NEW_CSR_INTERFACE macro in
 boost/graph/compressed_sparse_row_graph.hpp line 50-55 uses "#warning" to
 issue a compiler warning. This is not portable and causes a compile error
 on MSVC ("fatal error C1021: invalid preprocessor command 'warning'").

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3629>
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:01 UTC