Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63655 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2010-07-05 11:20:22


Author: jewillco
Date: 2010-07-05 11:20:19 EDT (Mon, 05 Jul 2010)
New Revision: 63655
URL: http://svn.boost.org/trac/boost/changeset/63655

Log:
Fixed warning syntax
Text files modified:
   trunk/boost/graph/kolmogorov_max_flow.hpp | 8 +++++---
   1 files changed, 5 insertions(+), 3 deletions(-)

Modified: trunk/boost/graph/kolmogorov_max_flow.hpp
==============================================================================
--- trunk/boost/graph/kolmogorov_max_flow.hpp (original)
+++ trunk/boost/graph/kolmogorov_max_flow.hpp 2010-07-05 11:20:19 EDT (Mon, 05 Jul 2010)
@@ -32,9 +32,11 @@
 #ifndef BOOST_KOLMOGOROV_MAX_FLOW_HPP
 #define BOOST_KOLMOGOROV_MAX_FLOW_HPP
 
-#warning \
- The kolmogorov_max_flow.hpp header is deprecated and will be removed \
- in Boost 1.46. Use boykov_kolmogorov_max_flow.hpp instead.
+#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__)
+# pragma message ("The kolmogorov_max_flow.hpp header is deprecated and will be removed in Boost 1.46. Use boykov_kolmogorov_max_flow.hpp instead.")
+#elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__)
+# warning "The kolmogorov_max_flow.hpp header is deprecated and will be removed in Boost 1.46. Use boykov_kolmogorov_max_flow.hpp instead."
+#endif
 
 #include <boost/config.hpp>
 #include <cassert>


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