|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2007-10-19 05:55:11
Author: danieljames
Date: 2007-10-19 05:55:10 EDT (Fri, 19 Oct 2007)
New Revision: 40180
URL: http://svn.boost.org/trac/boost/changeset/40180
Log:
Fix the deprecated warnings on Borland, should also check before using #warning.
Text files modified:
trunk/boost/functional/hash/deque.hpp | 2 +-
trunk/boost/functional/hash/list.hpp | 2 +-
trunk/boost/functional/hash/map.hpp | 2 +-
trunk/boost/functional/hash/pair.hpp | 2 +-
trunk/boost/functional/hash/set.hpp | 2 +-
trunk/boost/functional/hash/vector.hpp | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
Modified: trunk/boost/functional/hash/deque.hpp
==============================================================================
--- trunk/boost/functional/hash/deque.hpp (original)
+++ trunk/boost/functional/hash/deque.hpp 2007-10-19 05:55:10 EDT (Fri, 19 Oct 2007)
@@ -14,7 +14,7 @@
# pragma once
#endif
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__BORLANDC__)
#pragma message("Warning: boost/functional/hash/deque.hpp is deprecated, use boost/functional/hash.hpp instead.")
#else
#warning "boost/functional/hash/deque.hpp is deprecated, use boost/functional/hash.hpp instead."
Modified: trunk/boost/functional/hash/list.hpp
==============================================================================
--- trunk/boost/functional/hash/list.hpp (original)
+++ trunk/boost/functional/hash/list.hpp 2007-10-19 05:55:10 EDT (Fri, 19 Oct 2007)
@@ -14,7 +14,7 @@
# pragma once
#endif
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__BORLANDC__)
#pragma message("Warning: boost/functional/hash/list.hpp is deprecated, use boost/functional/hash.hpp instead.")
#else
#warning "boost/functional/hash/list.hpp is deprecated, use boost/functional/hash.hpp instead."
Modified: trunk/boost/functional/hash/map.hpp
==============================================================================
--- trunk/boost/functional/hash/map.hpp (original)
+++ trunk/boost/functional/hash/map.hpp 2007-10-19 05:55:10 EDT (Fri, 19 Oct 2007)
@@ -14,7 +14,7 @@
# pragma once
#endif
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__BORLANDC__)
#pragma message("Warning: boost/functional/hash/map.hpp is deprecated, use boost/functional/hash.hpp instead.")
#else
#warning "boost/functional/hash/map.hpp is deprecated, use boost/functional/hash.hpp instead."
Modified: trunk/boost/functional/hash/pair.hpp
==============================================================================
--- trunk/boost/functional/hash/pair.hpp (original)
+++ trunk/boost/functional/hash/pair.hpp 2007-10-19 05:55:10 EDT (Fri, 19 Oct 2007)
@@ -14,7 +14,7 @@
# pragma once
#endif
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__BORLANDC__)
#pragma message("Warning: boost/functional/hash/pair.hpp is deprecated, use boost/functional/hash.hpp instead.")
#else
#warning "boost/functional/hash/pair.hpp is deprecated, use boost/functional/hash.hpp instead."
Modified: trunk/boost/functional/hash/set.hpp
==============================================================================
--- trunk/boost/functional/hash/set.hpp (original)
+++ trunk/boost/functional/hash/set.hpp 2007-10-19 05:55:10 EDT (Fri, 19 Oct 2007)
@@ -14,7 +14,7 @@
# pragma once
#endif
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__BORLANDC__)
#pragma message("Warning: boost/functional/hash/set.hpp is deprecated, use boost/functional/hash.hpp instead.")
#else
#warning "boost/functional/hash/set.hpp is deprecated, use boost/functional/hash.hpp instead."
Modified: trunk/boost/functional/hash/vector.hpp
==============================================================================
--- trunk/boost/functional/hash/vector.hpp (original)
+++ trunk/boost/functional/hash/vector.hpp 2007-10-19 05:55:10 EDT (Fri, 19 Oct 2007)
@@ -14,7 +14,7 @@
# pragma once
#endif
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__BORLANDC__)
#pragma message("Warning: boost/functional/hash/vector.hpp is deprecated, use boost/functional/hash.hpp instead.")
#else
#warning "boost/functional/hash/vector.hpp is deprecated, use boost/functional/hash.hpp instead."
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