|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57892 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-11-24 11:33:49
Author: jewillco
Date: 2009-11-24 11:33:49 EST (Tue, 24 Nov 2009)
New Revision: 57892
URL: http://svn.boost.org/trac/boost/changeset/57892
Log:
Changed warning syntax for VC++; fixes #3629
Text files modified:
trunk/boost/graph/compressed_sparse_row_graph.hpp | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
Modified: trunk/boost/graph/compressed_sparse_row_graph.hpp
==============================================================================
--- trunk/boost/graph/compressed_sparse_row_graph.hpp (original)
+++ trunk/boost/graph/compressed_sparse_row_graph.hpp 2009-11-24 11:33:49 EST (Tue, 24 Nov 2009)
@@ -48,10 +48,19 @@
#endif
#ifndef BOOST_GRAPH_USE_NEW_CSR_INTERFACE
+#if BOOST_VERSION >= 103800
+#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__)
+#pragma message ("Using deprecated BGL compressed sparse row graph interface --")
+#pragma message ("please see the documentation for the new interface and then")
+#pragma message ("#define BOOST_GRAPH_USE_NEW_CSR_INTERFACE before including")
+#pragma message ("<boost/graph/compressed_sparse_row_graph.hpp>")
+#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__)
+#endif
#warning "Using deprecated BGL compressed sparse row graph interface --"
#warning "please see the documentation for the new interface and then"
#warning "#define BOOST_GRAPH_USE_NEW_CSR_INTERFACE before including"
#warning "<boost/graph/compressed_sparse_row_graph.hpp>"
+#endif
#endif // BOOST_GRAPH_USE_NEW_CSR_INTERFACE
#ifndef BOOST_GRAPH_USE_NEW_CSR_INTERFACE
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk