|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57719 - in trunk: boost/unordered/detail libs/unordered/test/helpers
From: daniel_james_at_[hidden]
Date: 2009-11-16 18:56:38
Author: danieljames
Date: 2009-11-16 18:56:37 EST (Mon, 16 Nov 2009)
New Revision: 57719
URL: http://svn.boost.org/trac/boost/changeset/57719
Log:
Some more warning fixes for Visual C++ 7.1
Text files modified:
trunk/boost/unordered/detail/fwd.hpp | 2 --
trunk/libs/unordered/test/helpers/invariants.hpp | 1 +
2 files changed, 1 insertions(+), 2 deletions(-)
Modified: trunk/boost/unordered/detail/fwd.hpp
==============================================================================
--- trunk/boost/unordered/detail/fwd.hpp (original)
+++ trunk/boost/unordered/detail/fwd.hpp 2009-11-16 18:56:37 EST (Mon, 16 Nov 2009)
@@ -74,10 +74,8 @@
#if defined(BOOST_MSVC)
#pragma warning(push)
-#if BOOST_MSVC >= 1400
#pragma warning(disable:4100) // unreferenced formal parameter
#endif
-#endif
template <class T>
inline void destroy(T* x) {
Modified: trunk/libs/unordered/test/helpers/invariants.hpp
==============================================================================
--- trunk/libs/unordered/test/helpers/invariants.hpp (original)
+++ trunk/libs/unordered/test/helpers/invariants.hpp 2009-11-16 18:56:37 EST (Mon, 16 Nov 2009)
@@ -18,6 +18,7 @@
#if defined(BOOST_MSVC)
#pragma warning(push)
#pragma warning(disable:4127) // conditional expression is constant
+#pragma warning(disable:4267) // conversion from 'size_t' to 'unsigned int', possible loss of data
#endif
namespace test
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