id summary reporter owner description type status milestone component version severity resolution keywords cc 2277 Invalid assignment void* to iovec::iov_base on the Solaris Simon Atanasyan chris_kohlhoff "On the Solaris following test case cannot be compiled by Sun C++. {{{ % cat test.cc #include int main() { return 0; }; }}} {{{ % CC -V -c -library=stlport4 -I$BOOST test.cc CC: Sun C++ 5.9 SunOS_sparc Patch 124863-06 2008/07/08 $BOOST/boost/asio/detail/socket_ops.hpp"", line 218: Error: Cannot assign void* to char*. $BOOST/boost/asio/detail/socket_ops.hpp"", line 229: Error: Cannot assign void* to char*. $BOOST/boost/asio/detail/descriptor_ops.hpp"", line 66: Error: Cannot assign void* to char*. $BOOST/boost/asio/detail/descriptor_ops.hpp"", line 72: Error: Cannot assign void* to char*. }}} The problem exists in the 1.35, 1.36 and trunk. On the Solaris while code compiled by Sun C++ iovec::iov_base field has type caddr_t, which is a typedef, usually for char*. So it is impossible to assign void* to it without explicit cast. Suggested patch is attached." Bugs closed To Be Determined asio Boost Development Trunk Problem fixed