id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 1703,[asio] Compiler warnings on VC8/9 + warning level 4,Richard Webb ,chris_kohlhoff,"Running the ASIO regression tests on vc8/9 with warning level 4 produces a large number of 4512 (assignment operator could not be generated) warnings: {{{ boost/asio/detail/task_io_service.hpp(344) : warning C4512: 'boost::asio::detail::task_io_service::task_cleanup' : assignment operator could not be generated boost/asio/detail/task_io_service.hpp(369) : warning C4512: 'boost::asio::detail::task_io_service::handler_cleanup' : assignment operator could not be generated boost/asio/buffered_read_stream.hpp(206) : warning C4512: 'boost::asio::buffered_read_stream::fill_handler' : assignment operator could not be generated boost/asio/buffered_read_stream.hpp(295) : warning C4512: 'boost::asio::buffered_read_stream::read_some_handler' : assignment operator could not be generated boost/asio/detail/buffer_resize_guard.hpp(64) : warning C4512: 'boost::asio::detail::buffer_resize_guard' : assignment operator could not be generated boost/asio/buffered_write_stream.hpp(169) : warning C4512: 'boost::asio::buffered_write_stream::flush_handler' : assignment operator could not be generated boost/asio/buffered_write_stream.hpp(253) : warning C4512: 'boost::asio::buffered_write_stream::write_some_handler' : assignment operator could not be generated boost/asio/impl/write.ipp(146) : warning C4512: 'boost::asio::detail::write_handler' : assignment operator could not be generate boost/asio/impl/read.ipp(160) : warning C4512: 'boost::asio::detail::read_handler' : assignment operator could not be generated boost/asio/impl/read_until.ipp(335) : warning C4512: 'boost::asio::detail::read_until_delim_handler' : assignment operator could not be generated boost/asio/impl/read_until.ipp(492) : warning C4512: 'boost::asio::detail::read_until_delim_string_handler' : assignment operator could not be generated boost/asio/detail/win_iocp_io_service.hpp(588) : warning C4512: 'boost::asio::detail::win_iocp_io_service::auto_work' : assignment operator could not be generated boost/asio/detail/strand_service.hpp(254) : warning C4512: 'boost::asio::detail::strand_service::invoke_current_handler' : assignment operator could not be generated boost/asio/detail/strand_service.hpp(295) : warning C4512: 'boost::asio::detail::strand_service::post_next_waiter_on_exit' : assignment operator could not be generated boost/asio/strand.hpp(178) : warning C4512: 'boost::asio::io_service::strand' : assignment operator could not be generated boost/asio/detail/wrapped_handler.hpp(170) : warning C4512: 'boost::asio::detail::rewrapped_handler' : assignment operator could not be generated boost/asio/detail/wrapped_handler.hpp(129) : warning C4512: 'boost::asio::detail::wrapped_handler' : assignment operator could not be generated boost/asio/detail/bind_handler.hpp(108) : warning C4512: 'boost::asio::detail::binder2' : assignment operator could not be generated }}} plus a couple of other types: {{{ boost/asio/detail/select_reactor.hpp(110) : warning C4100: 'descriptor' : unreferenced formal parameter boost/asio/detail/win_iocp_socket_service.hpp(1575) : warning C4100: 'bytes_transferred' : unreferenced formal parameter boost/asio/detail/select_reactor.hpp(69) : warning C4127: conditional expression is constant }}} plus a couple from the tests themselves: {{{ ip\tcp.cpp(194) : warning C4996: 'boost::asio::basic_socket::cancel': By default, this function always fails with operation_not_supported when used on Windows XP, Windows Server 2003, or earlier. Consult documentation for details. ip\udp.cpp(99) : warning C4996: 'boost::asio::basic_socket::cancel': By default, this function always fails with operation_not_supported when used on Windows XP, Windows Server 2003, or earlier. Consult documentation for details. }}} Attached is a patch that silences most of these for me.",Bugs,closed,To Be Determined,asio,Boost Development Trunk,Cosmetic,fixed,,