Date: 2007-02-09 01:59:45
Christopher Kohlhoff <chris <at> kohlhoff.com> writes:
> This seems to be an issue between boost::array and the Sun compiler,
> 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
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