Boost logo

Boost-Commit :

From: technews_at_[hidden]
Date: 2007-12-25 00:42:45


Author: turkanis
Date: 2007-12-25 00:42:44 EST (Tue, 25 Dec 2007)
New Revision: 42293
URL: http://svn.boost.org/trac/boost/changeset/42293

Log:
disabled VC8.0-9.0 warning 4512 (assignment operator could not be generated)
Text files modified:
   branches/iostreams_dev/boost/iostreams/compose.hpp | 5 +++++
   branches/iostreams_dev/boost/iostreams/detail/config/disable_warnings.hpp | 1 +
   2 files changed, 6 insertions(+), 0 deletions(-)

Modified: branches/iostreams_dev/boost/iostreams/compose.hpp
==============================================================================
--- branches/iostreams_dev/boost/iostreams/compose.hpp (original)
+++ branches/iostreams_dev/boost/iostreams/compose.hpp 2007-12-25 00:42:44 EST (Tue, 25 Dec 2007)
@@ -29,6 +29,9 @@
 #include <boost/static_assert.hpp>
 #include <boost/type_traits/is_convertible.hpp>
 
+// Must come last.
+#include <boost/iostreams/detail/config/disable_warnings.hpp> // MSVC.
+
 namespace boost { namespace iostreams {
 
 namespace detail {
@@ -421,4 +424,6 @@
 
 } } // End namespaces iostreams, boost.
 
+#include <boost/iostreams/detail/config/enable_warnings.hpp>
+
 #endif // #ifndef BOOST_IOSTREAMS_COMPOSE_HPP_INCLUDED

Modified: branches/iostreams_dev/boost/iostreams/detail/config/disable_warnings.hpp
==============================================================================
--- branches/iostreams_dev/boost/iostreams/detail/config/disable_warnings.hpp (original)
+++ branches/iostreams_dev/boost/iostreams/detail/config/disable_warnings.hpp 2007-12-25 00:42:44 EST (Tue, 25 Dec 2007)
@@ -13,6 +13,7 @@
 # pragma warning(disable:4130) // Logical operation on address of string constant.
 # pragma warning(disable:4224) // Parameter previously defined as type.
 # 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.
 #else
 # if BOOST_WORKAROUND(__BORLANDC__, < 0x600)


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