Date: 2007-02-09 02:46:50
Christopher Kohlhoff <chris <at> kohlhoff.com> writes:
> 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:
Actually after passing "-D_XOPEN_SOURCE=500" and "-D__EXTENSIONS__" to
the compiler number of errors came down drastically which would mean
that the asio code doesn't require any change.
Regarding the regression error, for boost Sun Studio requires the user
to pass following flags "-library=stlport4 -features=tmplife
> 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
> 0.3.7 source.
Am afraid to say that you are right in your observation. I am now using
CC -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -library=stlport4
-features=tmplife -features=tmplrefstatic Now am getting this error :
/boost/1_33_1/64/boost/asio/detail/posix_fd_set_adapter.hpp", line 35:
Error: The function "memset" must have a prototype.
1 Error(s) detected.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk