id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3887,[patch] boost::asio fails to compile with SunStudio 12.1 on Solaris 10,John Keeping ,chris_kohlhoff,"The boost::asio examples fail to compile with Sun Studio with the following error: ""../../../../../boost/bind/bind.hpp"", line 392: Error: Could not find a match for boost::_mfi::mf2::operator()(boost::shared_ptr, boost::asio::error::basic_errors, int) needed in boost::_bi::list3>, boost::arg<1>, boost::arg<2>>::operator(), boost::_bi::list2>(boost::_bi::type, boost::_mfi::mf2&, boost::_bi::list2&, int). This seems to be because the compiler doesn't perform the implicit conversion from boost::asio::error::basic_errors to boost::system::error_code. The attached patch makes this conversion explicit where errors are passed to handlers (I think I found all of the relevant places, I certainly fixed enough to run the HTTP examples).",Bugs,closed,Boost 1.42.0,asio,Boost Development Trunk,Problem,fixed,,