|
Boost-Commit : |
From: technews_at_[hidden]
Date: 2008-06-14 14:27:08
Author: turkanis
Date: 2008-06-14 14:27:08 EDT (Sat, 14 Jun 2008)
New Revision: 46394
URL: http://svn.boost.org/trac/boost/changeset/46394
Log:
limitted disabling of compiler warning 6334 to VC8.0+ (see #1618)
Text files modified:
trunk/boost/iostreams/detail/config/disable_warnings.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/iostreams/detail/config/disable_warnings.hpp
==============================================================================
--- trunk/boost/iostreams/detail/config/disable_warnings.hpp (original)
+++ trunk/boost/iostreams/detail/config/disable_warnings.hpp 2008-06-14 14:27:08 EDT (Sat, 14 Jun 2008)
@@ -16,7 +16,9 @@
# pragma warning(disable:4244) // Conversion: possible loss of data.
# pragma warning(disable:4512) // Assignment operator could not be generated.
# pragma warning(disable:4706) // Assignment within conditional expression.
-# pragma warning(disable:6334) // sizeof applied to an expression with an operator.
+# if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+# pragma warning(disable:6334) // sizeof applied to an expression with an operator.
+# endif
#else
# if BOOST_WORKAROUND(__BORLANDC__, < 0x600)
# pragma warn -8008 // Condition always true/false.
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