FW: Re: [asio].[hp-ux].[1_33_1] Build related issue

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/out put/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

Hi Gaurav, On Fri, 9 Feb 2007 12:29:45 +0530, Gaurav.Jain@iflexsolutions.com said:
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.
Just a wild guess... can you please try the following diff and see if it helps: --- posix_fd_set_adapter.hpp 4 Jan 2007 05:53:00 -0000 1.2 +++ posix_fd_set_adapter.hpp 12 Feb 2007 10:52:13 -0000 @@ -32,6 +32,7 @@ posix_fd_set_adapter() : max_descriptor_(invalid_socket) { + using namespace std; FD_ZERO(&fd_set_); } Cheers, Chris
participants (2)
-
Christopher Kohlhoff
-
Gaurav.Jain@iflexsolutions.com