Boost logo

Boost :

From: Gaurav.Jain_at_[hidden]
Date: 2007-02-09 01:59:45

Christopher Kohlhoff <chris <at>> 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.
> Cheers,
> Chris
 Am afraid to say that you are right in your observation. I am now using
0.3.8 client.
 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.

Gaurav Jain

Boost list run by bdawes at, gregod at, cpdaniel at, john at