From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2007-02-08 08:53:48


Hi Gaurav,

On Thu, 8 Feb 2007 18:04:55 +0530, Gaurav.Jain_at_[hidden] said:
> Based on this information I have replaced all the occurrences of
> msg.msg_control = 0;
> msg.msg_controllen = 0;
> msg.msg_flags = 0;
> With
> msg.msg_accrights = 0;
> msg.msg_accrightslen = 0;

Actually I think it would be better for now to do as Oliver suggests and
find the correct #define to use to enable X/Open compliance. As I said
before, at this stage I want to avoid changing actual code before I
release 0.3.8 as far as is possible.

>
> Number of errors have come down to 3 on Solaris 10.
> boost/1_33_1/64/boost/array.hpp", line 74: Error: Too few arguments for
> template std::reverse_iterator<boost::T*>.
> "/boost/1_33_1/64/boost/array.hpp", line 166: Where: While
> specializing "boost::array<boost::T, boost::N>".
> "/boost/1_33_1/64/boost/array.hpp", line 166: Where: Specialized in
> non-template code.
> "/boost/1_33_1/64/boost/array.hpp", line 75: Error: Too few arguments
> for template std::reverse_iterator<const boost::T*>.
> "/boost/1_33_1/64/boost/array.hpp", line 166: Where: While
> specializing "boost::array<boost::T, boost::N>".
> "/boost/1_33_1/64/boost/array.hpp", line 166: Where: Specialized in
> non-template code.

This seems to be an issue between boost::array and the Sun compiler, and
not to do with asio as such. I see the same errors in the regression
logs for boost CVS HEAD:

  http://engineering.meta-comm.com/boost-regression/CVS-HEAD/developer/output/mmutz-bin-boost-status-array0-test-sunpro-debug.html

> "daytime_client.cpp", line 24: Error: The operation
> It seems
> "std::ostream<<boost::asio::error"
> is illegal.

Are you sure the daytime_client.cpp source you are using is the one
written for 0.3.8? That line number and error message corresponds to the
0.3.7 source.

Cheers,
Chris