Index: buffered_read_stream.hpp =================================================================== --- buffered_read_stream.hpp (revision 43767) +++ buffered_read_stream.hpp (working copy) @@ -199,6 +199,9 @@ } private: + fill_handler& operator=(fill_handler&); + + private: boost::asio::io_service& io_service_; detail::buffered_stream_storage& storage_; std::size_t previous_size_; @@ -288,6 +291,9 @@ } private: + read_some_handler& operator=(read_some_handler&); + + private: boost::asio::io_service& io_service_; detail::buffered_stream_storage& storage_; MutableBufferSequence buffers_; Index: buffered_write_stream.hpp =================================================================== --- buffered_write_stream.hpp (revision 43767) +++ buffered_write_stream.hpp (working copy) @@ -162,6 +162,9 @@ io_service_.dispatch(detail::bind_handler(handler_, ec, bytes_written)); } +private: + flush_handler& operator=(flush_handler&); + private: boost::asio::io_service& io_service_; detail::buffered_stream_storage& storage_; @@ -246,6 +249,9 @@ } private: + write_some_handler& operator=(write_some_handler&); + + private: boost::asio::io_service& io_service_; detail::buffered_stream_storage& storage_; ConstBufferSequence buffers_; Index: detail/buffer_resize_guard.hpp =================================================================== --- detail/buffer_resize_guard.hpp (revision 43767) +++ detail/buffer_resize_guard.hpp (working copy) @@ -56,6 +56,9 @@ } private: + buffer_resize_guard& operator=(buffer_resize_guard&); + +private: // The buffer being managed. Buffer& buffer_; Index: detail/select_reactor.hpp =================================================================== --- detail/select_reactor.hpp (revision 43767) +++ detail/select_reactor.hpp (working copy) @@ -66,6 +66,9 @@ thread_(0), shutdown_(false) { +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +# pragma warning (suppress : 4127)//conditional expression is constant +#endif if (Own_Thread) { boost::asio::detail::signal_blocker sb; @@ -107,7 +110,7 @@ // Register a socket with the reactor. Returns 0 on success, system error // code on failure. - int register_descriptor(socket_type descriptor) + int register_descriptor(socket_type /*descriptor*/) { return 0; } Index: detail/strand_service.hpp =================================================================== --- detail/strand_service.hpp (revision 43767) +++ detail/strand_service.hpp (working copy) @@ -249,6 +249,9 @@ // in some situations. private: + invoke_current_handler operator=(const invoke_current_handler&); + + private: strand_service& service_impl_; implementation_type impl_; }; @@ -289,6 +292,9 @@ } private: + post_next_waiter_on_exit operator=(const post_next_waiter_on_exit&); + + private: strand_service& service_impl_; implementation_type& impl_; bool cancelled_; Index: detail/task_io_service.hpp =================================================================== --- detail/task_io_service.hpp (revision 43767) +++ detail/task_io_service.hpp (working copy) @@ -339,6 +339,9 @@ } private: + task_cleanup& operator=(task_cleanup&); + + private: boost::asio::detail::mutex::scoped_lock& lock_; task_io_service& task_io_service_; }; @@ -364,6 +367,9 @@ } private: + handler_cleanup& operator=(handler_cleanup&); + + private: boost::asio::detail::mutex::scoped_lock& lock_; task_io_service& task_io_service_; }; Index: detail/win_iocp_io_service.hpp =================================================================== --- detail/win_iocp_io_service.hpp (revision 43767) +++ detail/win_iocp_io_service.hpp (working copy) @@ -584,6 +584,9 @@ } private: + auto_work operator=(const auto_work&); + + private: win_iocp_io_service& io_service_; }; Index: detail/win_iocp_socket_service.hpp =================================================================== --- detail/win_iocp_socket_service.hpp (revision 43767) +++ detail/win_iocp_socket_service.hpp (working copy) @@ -1572,7 +1572,7 @@ private: static void do_completion_impl(operation* op, - DWORD last_error, size_t bytes_transferred) + DWORD last_error, size_t /*bytes_transferred*/) { // Take ownership of the operation object. typedef accept_operation op_type; Index: impl/read.ipp =================================================================== --- impl/read.ipp (revision 43767) +++ impl/read.ipp (working copy) @@ -157,6 +157,9 @@ std::size_t total_transferred_; CompletionCondition completion_condition_; ReadHandler handler_; + + private: + read_handler& operator=(read_handler&); }; template @@ -489,6 +492,9 @@ std::string delim_; std::size_t next_search_start_; ReadHandler handler_; + + private: + read_until_delim_string_handler& operator=(read_until_delim_string_handler&); }; template Index: impl/write.ipp =================================================================== --- impl/write.ipp (revision 43767) +++ impl/write.ipp (working copy) @@ -143,6 +143,9 @@ std::size_t total_transferred_; CompletionCondition completion_condition_; WriteHandler handler_; + + private: + write_handler& operator=(write_handler&); }; template