Boost logo

Boost :

From: Gaurav.Jain_at_[hidden]
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:

Solaris:

 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.

  

>

> http://engineering.meta-comm.com/boost-regression/CVS-HEAD/developer/o

> utput/mmutz-bin-boost-status-array0-test-sunpro-debug.html

 

 Regarding the regression error, for boost Sun Studio requires the user
to pass following flags "-library=stlport4 -features=tmplife
-features=tmplrefstatic"

 

> 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

 

 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.

 

Regards,

Gaurav Jain

 

 


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk